Skip to content

Commit e14e9b6

Browse files
committed
pass server through
1 parent efaf7a5 commit e14e9b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resque.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def redis=(server)
4747

4848
def create_pool(server = Resque.server, size = 5, timeout = nil)
4949
@server = server
50-
@redis = create_connection
50+
@redis = create_connection(server)
5151
@pool = ConnectionPool.new(@redis, size, timeout)
5252
@queues = Hash.new { |h,name|
5353
h[name] = Resque::Queue.new(name, @pool, coder)

0 commit comments

Comments
 (0)