Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Task/decrease rate limiter duration of market data gathering queue (#7129)
Thomas Kaul3c758b90e2e8
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex df2f6ba9ef..88ea7dd26d 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Changed- Improved the throughput of the market data gathering queue by applying the rate limit per data source+- Decreased the rate limiter duration of the market data gathering queue jobs from 4 to 3 seconds### Fixeddiff --git a/apps/api/src/services/queues/data-gathering/data-gathering.module.ts b/apps/api/src/services/queues/data-gathering/data-gathering.module.tsindex 7258c034c2..d664117975 100644--- a/apps/api/src/services/queues/data-gathering/data-gathering.module.ts+++ b/apps/api/src/services/queues/data-gathering/data-gathering.module.ts@@ -28,7 +28,7 @@ import { DataGatheringProcessor } from './data-gathering.processor';}),BullModule.registerQueue({limiter: {- duration: ms('4 seconds'),+ duration: ms('3 seconds'),groupKey: 'dataSource',max: 1},