Skip to content

Commit

Permalink
Revert back to disabling upstream on no response
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fischer committed Dec 6, 2023
1 parent 71f1cf8 commit 0f7343d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/internal/dns/upstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ func (u *upstreamResolver) checkUpstreamFails() {
return
default:
// todo test the deactivation logic, it seems to affect the client
// log.Warnf("upstream resolving is disabled for %v", reactivatePeriod)
// u.deactivate()
// u.disabled = true
// go u.waitUntilResponse()
log.Warnf("upstream resolving is disabled for %v", reactivatePeriod)
u.deactivate()
u.disabled = true
go u.waitUntilResponse()
}
}

Expand Down

0 comments on commit 0f7343d

Please sign in to comment.