lantins / resque-lock-timeout

A Resque plugin; adds locking, with optional timeout/deadlock handling to resque jobs.
MIT License
53 stars 20 forks source link

Update Resque dependency to 1.22.0. #16

Closed pivotal-casebook closed 10 years ago

pivotal-casebook commented 11 years ago

Loner feature needs it to work when running Resque inline. In that Resque version, around_perform_hooks are enabled for inline mode. Before, an inline job would run and leave its lock behind, preventing new jobs with the same identifier from being enqueued.

Add a test that fails with an older version of Resque and passes with 1.22.0.

lantins commented 10 years ago

Thanks for the test. Will merge and change the dependency to a squiggle ~>