Skip to content

Commit

Permalink
Merge pull request #4076 from omnivore-app/fix/reduce-worker-concurrency
Browse files Browse the repository at this point in the history
reduce bullmq worker concurrency to 2
  • Loading branch information
sywhb committed Jun 18, 2024
2 parents 163df00 + 6df8c71 commit fb7553a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/queue-processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
)

Expand Down

0 comments on commit fb7553a

Please sign in to comment.