From d4b4b619e245c8398cc6cb9a0f7060bcd884f3dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Tue, 2 Feb 2016 22:20:38 +0000 Subject: [PATCH] Change the way to load the Redis config to allow clusters --- lib/remote_storage/swift.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote_storage/swift.rb b/lib/remote_storage/swift.rb index 5fabbab..52cd055 100644 --- a/lib/remote_storage/swift.rb +++ b/lib/remote_storage/swift.rb @@ -346,7 +346,7 @@ module RemoteStorage end def redis - @redis ||= Redis.new(host: settings.redis["host"], port: settings.redis["port"]) + @redis ||= Redis.new(settings.redis) end def etag_for(body)