lib/redis_cluster/node.rb in redis_cluster-0.2.4 vs lib/redis_cluster/node.rb in redis_cluster-0.2.5
- old
+ new
@@ -37,10 +37,10 @@
def connection
@connection ||= self.class.redis(@options)
end
def self.redis(options)
- extra_options = {timeout: Configuration::DEFAULT_TIMEOUT}
+ extra_options = {timeout: Configuration::DEFAULT_TIMEOUT, driver: 'hiredis'.freeze}
::Redis.new(options.merge(extra_options))
end
end # end Node