mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
worker can concurrently process 10 jobs
This commit is contained in:
parent
a580fd7ebf
commit
f29592d671
1 changed files with 1 additions and 0 deletions
|
|
@ -227,6 +227,7 @@ export const createWorker = (connection: ConnectionOptions) =>
|
|||
connection,
|
||||
autorun: true, // start processing jobs immediately
|
||||
lockDuration: 60_000, // 1 minute
|
||||
concurrency: 10,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue