Browse Source

Task/improve throughput of market data gathering queue by applying rate limit per data source (#7128)

* Improve throughput by applying rate limit per data source

* Update changelog
pull/7129/head^2
Thomas Kaul 4 days ago
committed by GitHub
parent
commit
95b0318f8e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 1
      apps/api/src/services/queues/data-gathering/data-gathering.module.ts

4
CHANGELOG.md

@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Extended the asset profile details dialog of the admin control panel with a copy-to-clipboard button for the ISIN number
- Extended the asset profile details dialog of the admin control panel with a copy-to-clipboard button for the symbol
### Changed
- Improved the throughput of the market data gathering queue by applying the rate limit per data source
### Fixed
- Fixed an issue with hourly market data updates not refreshing prices for asset profiles with `MANUAL` data source

1
apps/api/src/services/queues/data-gathering/data-gathering.module.ts

@ -29,6 +29,7 @@ import { DataGatheringProcessor } from './data-gathering.processor';
BullModule.registerQueue({
limiter: {
duration: ms('4 seconds'),
groupKey: 'dataSource',
max: 1
},
name: DATA_GATHERING_QUEUE

Loading…
Cancel
Save