Skip to content

Commit dcd6fac

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

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
@@ -1063,6 +1063,7 @@ func (ac *addrConn) resetTransport() {
10631063
continue
10641064
}
10651065

1066+
backoffFor = 0
10661067
ac.mu.Lock()
10671068
reqHandshake := ac.dopts.reqHandshake
10681069
ac.mu.Unlock()

0 commit comments

Comments
 (0)