agent/router: refactor calculation of delay between rebalances.
This change attempts to make the delay logic more obvious by: * remove indirection, inline a bunch of function calls * move all the code and constants next to each other * replace the two constant values with a single value * reword the comments.
Please register or sign in to comment