Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

redis-trib: fix the MIGRATE call that now has milliseconds timeout (w…

…ere seconds before).
  • Loading branch information...
commit 609ea08445569e5d3e50d37c515d88e6a76c6974 1 parent 9157549
@antirez antirez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/redis-trib.rb
View
2  src/redis-trib.rb
@@ -357,7 +357,7 @@ def move_slot(source,target,slot,o={})
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
}
Please sign in to comment.
Something went wrong with that request. Please try again.