Feature/decrease rate limiter duration (#1217)
* Decrease rate limiter duration * Update changelog
This commit is contained in:
parent
15c650f951
commit
8cb1b3f925
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Decreased the rate limiter duration of queue jobs from 5 to 4 seconds
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Made the environment variables `REDIS_HOST` and `REDIS_PORT` mandatory
|
- Made the environment variables `REDIS_HOST` and `REDIS_PORT` mandatory
|
||||||
|
@ -17,7 +17,7 @@ import { SymbolProfileModule } from './symbol-profile.module';
|
|||||||
imports: [
|
imports: [
|
||||||
BullModule.registerQueue({
|
BullModule.registerQueue({
|
||||||
limiter: {
|
limiter: {
|
||||||
duration: ms('5 seconds'),
|
duration: ms('4 seconds'),
|
||||||
max: 1
|
max: 1
|
||||||
},
|
},
|
||||||
name: DATA_GATHERING_QUEUE
|
name: DATA_GATHERING_QUEUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user