]> git.saurik.com Git - redis.git/blobdiff - src/redis-trib.rb
Fix MULTI / EXEC rendering in MONITOR output.
[redis.git] / src / redis-trib.rb
index 473e492292912d60cbafbcaf917d24c61183b36a..1b83e19c2768c20d78f33c4f2d9f31a38f78630f 100755 (executable)
@@ -357,7 +357,7 @@ class RedisTrib
             keys = source.r.cluster("getkeysinslot",slot,10)
             break if keys.length == 0
             keys.each{|key|
             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
             }
                 print "." if o[:verbose]
                 STDOUT.flush
             }