correct very odd error on connect to redis

This commit is contained in:
Sam 2016-03-22 10:01:54 +11:00
parent 6c579ba932
commit 643d7f07c3

View file

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