mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-16 11:39:57 +00:00
Revert break
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user