Docker dev only starting critical sidekiq queue

Currently when using d/sidekiq to run sidekiq in the docker dev image, it starts a sidekiq process only for the critical queue.

The problem line is:

https://github.com/discourse/discourse/blob/master/bin/docker/sidekiq#L4

When I change sidekiq -q critical,low,default to sidekiq -q default,critical,low it starts a process only for the default queue, so there’s something wrong with the commas.

The workaround I’m using is just removing -q critical,low,default in its entirety, which starts a process servicing every queue.

2 Likes

Sure, send a pr through to fix

2 Likes

https://github.com/discourse/discourse/pull/4735

2 Likes

are you 100% sure of that, I am finding this super confusing

Yep, but from playing around I’ve also found -q critical -q low -q default works, which is a clearer fix, so I’ve updated my PR.

2 Likes

I believe we don’t need to pass the queue options in dev since we have

https://github.com/discourse/discourse/blob/master/config/sidekiq.yml

3 Likes