mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
correct very odd error on connect to redis
This commit is contained in:
parent
6c579ba932
commit
643d7f07c3
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue