diff --git a/client/internal/peer/conn.go b/client/internal/peer/conn.go index 39c4b9af3..2f755a043 100644 --- a/client/internal/peer/conn.go +++ b/client/internal/peer/conn.go @@ -317,7 +317,7 @@ func (conn *Conn) GetKey() string { } func (conn *Conn) reconnectLoopWithRetry() { - // wait for the initial connection to be established + // give chance to the peer to establish the initial connection select { case <-conn.ctx.Done(): case <-time.After(3 * time.Second):