seomoz / qless

Queue / Pipeline Management
MIT License
294 stars 76 forks source link

Pause worker before it reserves a job #235

Closed berkcaputcu closed 6 years ago

berkcaputcu commented 9 years ago

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 commented 9 years ago

@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 commented 9 years ago

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