Skip to content


Add ability to run worker which fetches only jobs without a queue specified #425

WizardOfOgz opened this Issue · 3 comments

4 participants


I have thinking sphinx processes created jobs without a queue. I'm also created delayed jobs with queue set to "Import". I'd like to have a worker handle only the sphinx jobs (the ones without a queue). Then I'd like another worker to handle only the jobs for the "Import" queue.

The problem is that I can't have a worker which only fetches jobs which are not in a queue.

I'm open to suggestions if I'm missing something or there is another way. Otherwise I'll try to find some time to submit add this feature and submit a pull request.


Why not just create a queue name? Call it 'default' or something?


Note that you can now accomplish something similar by setting a non-nil default queue name. For instance, if you set Delayed::Worker.default_queue_name = :default in an initializer, all your jobs without queue specified will go to 'default' queue.

Collective Idea member

The above suggestion from matthull should be considered the approved answer. Consider this a documentation bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.