Skip to content

Commit

Permalink
Check for syncservers() finish more often
Browse files Browse the repository at this point in the history
  • Loading branch information
rsafonseca committed Apr 29, 2021
1 parent 4db9750 commit 549aeb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/etcd_service_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ func (sd *etcdServiceDiscovery) watchEtcdChanges() {
case wResp, ok := <-chn:
if wResp.Err() != nil {
logger.Log.Warnf("etcd watcher response error: %s", wResp.Err())
time.Sleep(100 * time.Millisecond)
time.Sleep(10 * time.Millisecond)
}
if !ok {
logger.Log.Error("etcd watcher died, retrying to watch in 1 second")
Expand Down

0 comments on commit 549aeb3

Please sign in to comment.