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

Fixes for queues being appended to the worker name and IDLE state workers. #36

Merged
merged 2 commits into from
Nov 15, 2013

Conversation

dparkinson
Copy link
Contributor

A couple of potential fixes for setting the worker name and getting the worker state.

The name of the worker was never appending the queue names to the end of the worker name because the name was set before queues had been populated in the WorkerImpl constructor.

Jesque-Web was showing IDLE workers as WORKING in the Overview page. This applies a fix so that workers with no payload do not show up when asking for WORKING workers.

David Parkinson added 2 commits November 14, 2013 19:49
The worker name was set before the queues so they were not available at
the time of setting the name.
Workers without a payload and are not paused should not be returned
when looking for WORKING workers.
@gresrun
Copy link
Owner

gresrun commented Nov 15, 2013

Thanks for the quality pull request!

gresrun added a commit that referenced this pull request Nov 15, 2013
Fixes for queues being appended to the worker name and IDLE state workers.
@gresrun gresrun merged commit 1c6c1b2 into gresrun:master Nov 15, 2013
@ghost ghost assigned gresrun Nov 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants