logesh
logesh

Reputation: 2672

How to set the concurrency for each queue separately in sidekiq?

Say for example, I have two queues and I want each queue to process only one job simultaneously.

Now I have one queue and I have it something like

bundle exec sidekiq -c 1 -q queue_name

I want two queues to process the job simultaneously and each queue should have concurrency 1. So, is that possible? If yes, how can I do that?

Upvotes: 0

Views: 489

Answers (1)

chumakoff
chumakoff

Reputation: 7054

Queues are just places from where sidekiq takes jobs to perform. Concurrency allows to perform taken jobs simultaneously. I mean queues don't process jobs, they just collect them and determine their priority. Therefore the phrase set the concurrency for each queue doesn't make sense.

Upvotes: 0

Related Questions