Skip to content

Commit a29b2fc

Browse files
committed
client: reset backoff to 0 after a connection is established (#2669)
#2663 #2636
1 parent 849487b commit a29b2fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: clientconn.go

+1
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,7 @@ func (ac *addrConn) resetTransport() {
10591059
continue
10601060
}
10611061

1062+
backoffFor = 0
10621063
ac.mu.Lock()
10631064
reqHandshake := ac.dopts.reqHandshake
10641065
ac.mu.Unlock()

0 commit comments

Comments
 (0)