diff --git a/lib/discourse_redis.rb b/lib/discourse_redis.rb index 4bb3cd156..8f865d9ac 100644 --- a/lib/discourse_redis.rb +++ b/lib/discourse_redis.rb @@ -75,6 +75,9 @@ class DiscourseRedis end def resolve + + return @options unless @slave_options[:host] + begin options = @options.dup options.delete(:connector)