Change the way to load the Redis config to allow clusters
This commit is contained in:
parent
c730333143
commit
0e10f3b6ff
@ -533,7 +533,7 @@ module RemoteStorage
|
||||
end
|
||||
|
||||
def redis
|
||||
@redis ||= Redis.new(host: settings.redis["host"], port: settings.redis["port"])
|
||||
@redis ||= Redis.new(settings.redis)
|
||||
end
|
||||
|
||||
def directory_backend(user)
|
||||
|
Loading…
x
Reference in New Issue
Block a user