Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow worker startup with list of queues not to pull jobs from #789

Open
eliv opened this issue Mar 10, 2015 · 1 comment
Open

Allow worker startup with list of queues not to pull jobs from #789

eliv opened this issue Mar 10, 2015 · 1 comment

Comments

@eliv
Copy link

eliv commented Mar 10, 2015

Sometimes negation is easier then inclusion. Allowing a worker to start up and say I won't work off of these queues. Would make life easier in the case where most queued jobs can be handled by most systems but only a few require a very specific host to run on. Giving the list of all queues for all systems can potentially be much longer then giving the list of queues that that can't be supported by a given worker.

philister added a commit to pictrs/delayed_job that referenced this issue Nov 9, 2015
One can explicitly exclude queues by name (see collectiveidea#789) or even give an
argument through, for eval with where.
@philister
Copy link

You can try and test
https://github.com/pictrs/delayed_job
with
https://github.com/philister/delayed_job_active_record/
where I implemented such a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants