ResetConnectBackoff wakes up all subchannels in transient failure and causes them to attempt another connection immediately. It also resets the backoff times used for subsequent attempts regardless of the current state. In general, this function should not be used. Typical service or network outa
()
| 1179 | // Notice: This API is EXPERIMENTAL and may be changed or removed in a |
| 1180 | // later release. |
| 1181 | func (cc *ClientConn) ResetConnectBackoff() { |
| 1182 | cc.mu.Lock() |
| 1183 | conns := cc.conns |
| 1184 | cc.mu.Unlock() |
| 1185 | for ac := range conns { |
| 1186 | ac.resetConnectBackoff() |
| 1187 | } |
| 1188 | } |
| 1189 | |
| 1190 | // Close tears down the ClientConn and all underlying connections. |
| 1191 | func (cc *ClientConn) Close() error { |