Add log line re: server manager backing off and sleeping

This is useful in situations where the RPC rotate duration is greater than 1µs.  WTB exponential backoff of logging so we don't spam forever.
This commit is contained in:
Sean Chittenden 2016-03-28 14:04:04 -07:00
parent 689b79aef3
commit 6a987062b9
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ FAILED_SERVER_DURING_REBALANCE:
// the world a happy place again.
if !foundHealthyServer {
const backoffDuration = 1 * time.Second
// sm.logger.Printf("[INFO] server manager: No servers available, sleeping for %v", backoffDuration)
sm.logger.Printf("[DEBUG] server manager: No servers available, sleeping for %v", backoffDuration)
// Sleep with no locks
time.Sleep(backoffDuration)