mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
double capacity of content-fetch worker
This commit is contained in:
parent
b952ee4600
commit
706ab6075d
1 changed files with 3 additions and 3 deletions
|
|
@ -40,12 +40,12 @@ export const createWorker = (
|
|||
{
|
||||
connection: redisDataSource.queueRedisClient,
|
||||
autorun: true, // start processing jobs immediately
|
||||
// process up to 10 jobs in a second
|
||||
// process up to 20 jobs in a second
|
||||
limiter: {
|
||||
max: 10,
|
||||
max: 20,
|
||||
duration: 1000,
|
||||
},
|
||||
concurrency: 2, // process up to 2 jobs concurrently
|
||||
concurrency: 4, // process up to 4 jobs concurrently
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue