lib/redis_failover/client.rb in nogara-redis_failover-0.9.0 vs lib/redis_failover/client.rb in nogara-redis_failover-0.9.1

- old
+ new

@@ -69,9 +69,15 @@ # we provide ourselves as a client to receive the "reconnect" message def client self end + # Sidekiq-web asks for a location in the redis client. Implements something here + # just to make sure it works + def location + 'location' + end + # Specifies a callback to invoke when the current redis node list changes. # # @param [Proc] a callback with current master and slaves as arguments # # @example Usage