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

Specifying number of queues? #119

Open
araishikeiwai opened this issue Mar 8, 2016 · 0 comments
Open

Specifying number of queues? #119

araishikeiwai opened this issue Mar 8, 2016 · 0 comments

Comments

@araishikeiwai
Copy link

Hi,

I specified a job with queue 'my-job:5::5', but when I run Backburner.work via rake task (somehow I can't call rake backburner:work, it shows Don't know how to build task 'environment' (see --tasks) even require 'backburner/tasks' is included already), sometimes it shows this:

INFO -- : Working 2 queues: [ my-default-queue.my-job:[5, nil, 5], my-default-queue.backburner-jobs:[nil, nil, nil] ]

And sometimes it shows this (duplication):

INFO -- : Working 4 queues: [ my-default-queue.my-job:[5, nil, 5], my-default-queue.backburner-jobs:[nil, nil, nil], my-default-queue.my-job:[5, nil, 5], my-default-queue.backburner-jobs:[nil, nil, nil] ]

And if I run two instances of Backburner.work, I can't predict how many queues are going to be run.

Is there a way to specify the number of queues run by Backburner.work?

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

1 participant