Merge pull request #4076 from omnivore-app/fix/reduce-worker-concurrency

reduce bullmq worker concurrency to 2
This commit is contained in:
Hongbo Wu
2024-06-18 17:34:37 +08:00
committed by GitHub

View File

@ -236,7 +236,7 @@ export const createWorker = (connection: ConnectionOptions) =>
connection,
autorun: true, // start processing jobs immediately
lockDuration: 60_000, // 1 minute
concurrency: 10,
concurrency: 2,
}
)