From 643d7f07c3433f6924aa371d2480bdf350c65c8c Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 22 Mar 2016 10:01:54 +1100 Subject: [PATCH] correct very odd error on connect to redis --- lib/discourse_redis.rb | 3 +++ 1 file changed, 3 insertions(+) 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)