c06aa5452d
Test `Balance::poll_ready` by creating a random number of services, each of which must be polled a random number of times before becoming ready. As the balancer is polled, the test ensures that it does not become ready prematurely and that services are promoted from not_ready to ready. `Balance::num_ready()` and `Balance::is_ready()` have been added to expose the number of ready services, as well as `Balance::num_not_ready()` to expose the number of pending services. |
||
---|---|---|
.. | ||
examples | ||
src | ||
Cargo.toml | ||
README.md |
README.md
Tower Balance
A Tower middleware that load balances across a uniform set of services.