We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efaf7a5 commit e14e9b6Copy full SHA for e14e9b6
lib/resque.rb
@@ -47,7 +47,7 @@ def redis=(server)
47
48
def create_pool(server = Resque.server, size = 5, timeout = nil)
49
@server = server
50
- @redis = create_connection
+ @redis = create_connection(server)
51
@pool = ConnectionPool.new(@redis, size, timeout)
52
@queues = Hash.new { |h,name|
53
h[name] = Resque::Queue.new(name, @pool, coder)
0 commit comments