Change the way to load the Redis config to allow clusters

This commit is contained in:
Greg Karékinian 2016-02-02 22:20:38 +00:00
parent 1ce856919e
commit d4b4b619e2

View File

@ -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)