Fix reference check

This commit is contained in:
Zoltán Papp 2024-07-18 14:21:32 +02:00
parent 894d68adf2
commit f247a7be46

View File

@ -324,6 +324,7 @@ func (conn *Conn) reconnectLoopWithRetry() {
case <-time.After(3 * time.Second):
}
L:
for {
bo := backoff.WithContext(&backoff.ExponentialBackOff{
InitialInterval: 800 * time.Millisecond,
@ -340,7 +341,6 @@ func (conn *Conn) reconnectLoopWithRetry() {
<-ticker.C // consume the initial tick what is happening right after the ticker has been created
L:
for {
select {
case t := <-ticker.C: