diff --git a/client/internal/peer/conn.go b/client/internal/peer/conn.go index 721d5d036..613007fdf 100644 --- a/client/internal/peer/conn.go +++ b/client/internal/peer/conn.go @@ -324,6 +324,7 @@ func (conn *Conn) reconnectLoopWithRetry() { case <-time.After(3 * time.Second): } +L: for { bo := backoff.WithContext(&backoff.ExponentialBackOff{ InitialInterval: 800 * time.Millisecond, @@ -340,7 +341,6 @@ func (conn *Conn) reconnectLoopWithRetry() { <-ticker.C // consume the initial tick what is happening right after the ticker has been created - L: for { select { case t := <-ticker.C: