mirror of
https://github.com/discourse/discourse.git
synced 2025-04-03 05:39:41 +08:00
correct very odd error on connect to redis
This commit is contained in:
parent
6c579ba932
commit
643d7f07c3
@ -75,6 +75,9 @@ class DiscourseRedis
|
|||||||
end
|
end
|
||||||
|
|
||||||
def resolve
|
def resolve
|
||||||
|
|
||||||
|
return @options unless @slave_options[:host]
|
||||||
|
|
||||||
begin
|
begin
|
||||||
options = @options.dup
|
options = @options.dup
|
||||||
options.delete(:connector)
|
options.delete(:connector)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user