resque-workers-lock 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,6 +28,11 @@ module Resque
28
28
  Resque.redis.del(lock(*args))
29
29
  end
30
30
  end
31
+
32
+ def on_failure_lock(*args)
33
+ # Clear the lock on DirtyExit
34
+ Resque.redis.del(lock(*args))
35
+ end
31
36
  end
32
37
  end
33
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-workers-lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: