resque_stuck_queue 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/resque_stuck_queue/heartbeat_job.rb +1 -1
- data/lib/resque_stuck_queue/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
|
4
|
-
|
3
|
+
data.tar.gz: cfbe93e242cdb25b7d6783cbe4fe4ae43f3e55c0
|
4
|
+
metadata.gz: a1e36f35d1b8e95afb3102b67bc1e28234d2bd4f
|
5
5
|
SHA512:
|
6
|
-
|
7
|
-
|
6
|
+
data.tar.gz: b3ff34bf049f1ffd625da524797ee7a7405cd63c0b93da7c5bbc14a921b0326ce9a22d1475d399cf612fe75f807cdd646166af9a2ca7126f6150dcd6913cd7a0
|
7
|
+
metadata.gz: d77c76164663b195c3e686104354109290360ba2deb8fa4f9f91cbd4634747e17f09e12ac24fb845ad310a307b1f5ffbd7bc68f089b87966781ef954981adce0
|
@@ -7,7 +7,7 @@ module Resque
|
|
7
7
|
|
8
8
|
def perform(*args)
|
9
9
|
keyname,host,port,namespace = args
|
10
|
-
Redis::Namespace.new(namespace, :redis => Redis.new(:host => host, :port => port))
|
10
|
+
@redis = Redis::Namespace.new(namespace, :redis => Redis.new(:host => host, :port => port))
|
11
11
|
@redis.set(keyname, Time.now.to_i)
|
12
12
|
end
|
13
13
|
|