mirror of https://github.com/etcd-io/bbolt.git
Only update rebalance time if nodes are rebalanced.
This commit changes TxStats.RebalanceTime to only update if there are nodes that have been rebalanced. Previously, the RebalanceTime would include a small amount of time to check if there were nodes to rebalance but this is confusing to users and not terribly helpful.pull/34/head
parent
f873035fc9
commit
6e977e2f19
Loading…
Reference in New Issue