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
commit fb7553abb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,
}
)