mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-24 19:26:39 +00:00
Remove unused function
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user