mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26:38 +00:00
Revert back to disabling upstream on no response
This commit is contained in:
@@ -181,10 +181,10 @@ func (u *upstreamResolver) checkUpstreamFails() {
|
|||||||
return
|
return
|
||||||
default:
|
default:
|
||||||
// todo test the deactivation logic, it seems to affect the client
|
// todo test the deactivation logic, it seems to affect the client
|
||||||
// log.Warnf("upstream resolving is disabled for %v", reactivatePeriod)
|
log.Warnf("upstream resolving is disabled for %v", reactivatePeriod)
|
||||||
// u.deactivate()
|
u.deactivate()
|
||||||
// u.disabled = true
|
u.disabled = true
|
||||||
// go u.waitUntilResponse()
|
go u.waitUntilResponse()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user