resque-heartbeat 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/resque/heartbeat.rb +1 -1
- data/lib/resque_heartbeat/version.rb +1 -1
- metadata +2 -2
data/lib/resque/heartbeat.rb
CHANGED
@@ -43,7 +43,7 @@ module Resque
|
|
43
43
|
def connect
|
44
44
|
# apparently the Redis connection is not thread-safe, so we connect another instance
|
45
45
|
# see https://github.com/ezmobius/redis-rb/issues#issue/75
|
46
|
-
redis = Redis.connect(:url =>
|
46
|
+
redis = Redis.connect(:url => ENV['REDIS_URL']).tap { |redis| redis.client.connect }
|
47
47
|
Redis::Namespace.new(:resque, :redis => redis)
|
48
48
|
end
|
49
49
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-heartbeat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-06-
|
12
|
+
date: 2011-06-11 00:00:00.000000000 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
description: ! '[description]'
|