-
Notifications
You must be signed in to change notification settings - Fork 47
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
Non-worker queues still process jobs. #89
Comments
@schmod I will appreciate a PR with the fix. |
What do you think the appropriate behavior should be? Should |
My current setup contains micro services which I don't include the processing code for non workers. There's no good reason to have non-workers include that extra code anyway. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The behavior of
kue.createQueue({ worker: false })
is inconsistent with the documentation.Currently, this flag only controls whether or not the queue will process jobs created with
.every()
. Queues created as "non-workers" will still process jobs in all other circumstances.In the following example, the job gets processed, even though the queue has been marked as a "non-worker".
The text was updated successfully, but these errors were encountered: