I have a deferred job queue that contains particularly slow running tasks that I want to compromise with my own set of dedicated employees, so the risk will be the least difficult for the rest of the work pipeline.
RAILS_ENV=production script/delayed_job --queue=super_slow_stuff start
However, I also want the general pool of workers for all other queues, I hope, without the need to specify them separately (since their names, etc. often change / add). Something similar to:
RAILS_ENV=production script/delayed_job --except-queue=super_slow_stuff start
I could use the *charecter wildcard, but I suppose that would cause the second worker to also load super slow jobs too?
Any suggestions on this?
source
share