diff --git a/src/infra/providers/implementations/queue/BullProvider.ts b/src/infra/providers/implementations/queue/BullProvider.ts index eceb4688..81281ffb 100644 --- a/src/infra/providers/implementations/queue/BullProvider.ts +++ b/src/infra/providers/implementations/queue/BullProvider.ts @@ -37,7 +37,7 @@ export class BullProvider implements IMailQueueProvider { process(processFunction: Processor): void { new Worker('mail-queue', processFunction, { connection: redisConnection, - concurrency: 400, + concurrency: 100, limiter: { max: 400, duration: 1000,