Browse Source

Decrease rate limiter duration

pull/1217/head
Thomas 3 years ago
parent
commit
83babca5e5
  1. 2
      apps/api/src/services/data-gathering.module.ts

2
apps/api/src/services/data-gathering.module.ts

@ -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…
Cancel
Save