From 787c900342ae0df3dbcf97a0eb62647ce4520485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Thu, 18 Jul 2024 14:45:36 +0200 Subject: [PATCH] Revert break --- client/internal/peer/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/internal/peer/conn.go b/client/internal/peer/conn.go index 613007fdf..721d5d036 100644 --- a/client/internal/peer/conn.go +++ b/client/internal/peer/conn.go @@ -324,7 +324,6 @@ func (conn *Conn) reconnectLoopWithRetry() { case <-time.After(3 * time.Second): } -L: for { bo := backoff.WithContext(&backoff.ExponentialBackOff{ InitialInterval: 800 * time.Millisecond, @@ -341,6 +340,7 @@ L: <-ticker.C // consume the initial tick what is happening right after the ticker has been created + L: for { select { case t := <-ticker.C: