Skip to content
Snippets Groups Projects
Commit 0003720f authored by Daniel Nephin's avatar Daniel Nephin
Browse files

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.
parent 119c446c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment