From 609ea08445569e5d3e50d37c515d88e6a76c6974 Mon Sep 17 00:00:00 2001 From: antirez Date: Sat, 31 Mar 2012 11:28:37 +0200 Subject: [PATCH] redis-trib: fix the MIGRATE call that now has milliseconds timeout (were seconds before). --- src/redis-trib.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis-trib.rb b/src/redis-trib.rb index 473e4922..1b83e19c 100755 --- a/src/redis-trib.rb +++ b/src/redis-trib.rb @@ -357,7 +357,7 @@ class RedisTrib keys = source.r.cluster("getkeysinslot",slot,10) break if keys.length == 0 keys.each{|key| - source.r.migrate(target.info[:host],target.info[:port],key,0,1) + source.r.migrate(target.info[:host],target.info[:port],key,0,1000) print "." if o[:verbose] STDOUT.flush } -- 2.45.2