Revert back to disabling upstream on no response

This commit is contained in:
Pascal Fischer
2023-12-06 13:22:40 +01:00
parent 71f1cf80b8
commit 0f7343dd58

View File

@@ -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()
} }
} }