iheartradio / kanaloa

Make your service more resilient by providing protection against traffic oversaturation
http://iheartradio.github.io/kanaloa
Other
124 stars 13 forks source link

fix the incorrect calculation of expected wait time when partialUtilized fix #162 #166

Closed kailuowang closed 8 years ago

kailuowang commented 8 years ago

The original calculation try to use the average dequeue speed with queue length 1 to estimate the dequeue wait time, but actually when there are idle workers the work should be immediately picked up.

coveralls commented 8 years ago

Coverage Status

Changes Unknown when pulling 20ea2d61a79a5ace44bbc5de61f1c3ae84190ab4 on kailuowang:issues/162 into \ on iheartradio:master**.

nsauro commented 8 years ago

👍