mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-27 20:56:44 +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 {
|
func exponentTicker(ctx context.Context) *backoff.Ticker {
|
||||||
bo := backoff.WithContext(&backoff.ExponentialBackOff{
|
bo := backoff.WithContext(&backoff.ExponentialBackOff{
|
||||||
InitialInterval: 2 * time.Second,
|
InitialInterval: 2 * time.Second,
|
||||||
|
|||||||
Reference in New Issue
Block a user