redis-trib: fix the MIGRATE call that now has milliseconds timeout (were seconds before).
This commit is contained in:
parent
9157549fad
commit
609ea08445
@ -357,7 +357,7 @@ class RedisTrib
|
|||||||
keys = source.r.cluster("getkeysinslot",slot,10)
|
keys = source.r.cluster("getkeysinslot",slot,10)
|
||||||
break if keys.length == 0
|
break if keys.length == 0
|
||||||
keys.each{|key|
|
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]
|
print "." if o[:verbose]
|
||||||
STDOUT.flush
|
STDOUT.flush
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user