- Fix: ensure exceptions are kept if raised after lock timeout expires.
- Add:
enqueued?
andloner_locked?
helper methods. - Bump minimum version of resque to v1.22
- Fix: allow
@loner
job to be enqueued if timeout expires.
- Add:
@loner
boolean option to prevent job being enqueued if already running/enqueued. (Thanks to @ssaunier)
- Tested against v1.20.0 of resque.
- Pass job arguments to
lock_timeout
. (Bob Potter) - Added
refresh_lock!
method for long running jobs. (Bob Potter)
- Ability to customize redis connection used for storing locks. (thanks Richie Vos =))
- Added Bundler
Gemfile
. - Added abstract stub methods for callback methods:
lock_failed
,lock_expired_before_release
- Relax gemspec dependancies.
- Initial release as
resque-lock-timeout
, forked from Chris Wanstrath'resque-lock
.