Skip to content
Commit bb7a479c authored by David Hoover's avatar David Hoover
Browse files

Use ConsistentHash's mass-add method.

Calling hash.add() in a tight loop gets very expensive. With a
good-sized queue & slave pool, this cost tens of seconds, but now it
costs tens of milliseconds.
parent 98a6c6f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment