mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-06 17:08:53 +00:00
Add comment
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user