agent: Ensure we don't retry too often

pull/199/head
Armon Dadgar 2014-06-06 14:38:01 -07:00
parent e171df2e2c
commit a5f05fa902
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ SYNC:
case <-shutdownCh:
return
}
case <-time.After(randomStagger(aeScale(syncRetryIntv, len(l.iface.LANMembers())))):
case <-time.After(syncRetryIntv + randomStagger(aeScale(syncRetryIntv, len(l.iface.LANMembers())))):
case <-shutdownCh:
return
}