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

Pause worker before it reserves a job #235

Closed
wants to merge 2 commits into from

Conversation

berkcaputcu
Copy link

Fixes #234

Moved to code that checks for a paused worker before worker reserves a job so it can pause without having to perform a job.

@vadim-ex
Copy link
Contributor

@berkcaputcu: Thank you for your proposed fix. I would appreciate if you'd add tests to your proposed PR (I mean strictly test covering the change, not the whole affected code).

@berkcaputcu
Copy link
Author

@vadim-moz tests are added, can you take a look at it again? Thanks!

@berkcaputcu berkcaputcu deleted the pause_workers_properly branch September 28, 2017 19:58
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

Successfully merging this pull request may close these issues.

After sending pause signal (USR2) SerialWorker performs a job before it actually pauses
2 participants