From f247a7be46689dd21fa72b1e9313b810619b68d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Thu, 18 Jul 2024 14:21:32 +0200 Subject: [PATCH] Fix reference check --- 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 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: