Support for not_queues - #28
Open
arjes wants to merge 7 commits into
Open
Conversation
The not_queues option was added to the command via 0e3371e in DJ Master not_queues allows instructs the worker to NOT work on specified queues
Collaborator
|
Please fix the tests and add some new tests for this behavior. |
added 5 commits
October 6, 2013 17:24
sferik
force-pushed
the
master
branch
2 times, most recently
from
October 8, 2014 16:39
b3f2a9b to
b3adaee
Compare
sferik
force-pushed
the
master
branch
2 times, most recently
from
December 22, 2014 17:16
1240e8d to
639c9e5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello,
I added support for a not_queues option to force the worker to skip over specific queues. I required this functionality so the workers would continue working on jobs with a blank queue, or anything else. Specifically I had jobs that HAD to be run on a sub-set of machines.
I looked for specs (for queue for example) to emulate, but was unable to find any.
Pull coming to DJ master shortly.
--Brian