From 5d403a79ba285d09ee4c132daf6c8c73e885f78e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Wed, 29 Jan 2025 14:54:24 +0100 Subject: [PATCH] Remove unused function --- relay/client/guard.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/relay/client/guard.go b/relay/client/guard.go index 457c5d3ae..554330ea3 100644 --- a/relay/client/guard.go +++ b/relay/client/guard.go @@ -124,14 +124,6 @@ func (g *Guard) notifyReconnected() { } } -func (g *Guard) isReadyToQuickReconnect(relayClient *Client) bool { - if relayClient == nil { - return false - } - - return g.isServerURLStillValid(relayClient) -} - func exponentTicker(ctx context.Context) *backoff.Ticker { bo := backoff.WithContext(&backoff.ExponentialBackOff{ InitialInterval: 2 * time.Second,