Change the way to load the Redis config to allow clusters
This commit is contained in:
@@ -346,7 +346,7 @@ module RemoteStorage
|
|||||||
end
|
end
|
||||||
|
|
||||||
def redis
|
def redis
|
||||||
@redis ||= Redis.new(host: settings.redis["host"], port: settings.redis["port"])
|
@redis ||= Redis.new(settings.redis)
|
||||||
end
|
end
|
||||||
|
|
||||||
def etag_for(body)
|
def etag_for(body)
|
||||||
|
|||||||
Reference in New Issue
Block a user