lib/redis/distributed_store.rb in redis-store-1.0.0.beta4 vs lib/redis/distributed_store.rb in redis-store-1.0.0.beta5
- old
+ new
@@ -12,9 +12,13 @@
def nodes
ring.nodes
end
+ def reconnect
+ nodes.each {|node| node.reconnect }
+ end
+
def set(key, value, options = nil)
node_for(key).set(key, value, options)
end
def get(key, options = nil)