Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DefaultDnsCache
: apply MAX_SUPPORTED_TTL_SECS
cap for `negativeTt…
…l` (#13637) Motivation: `DefaultDnsCache` already applies `MAX_SUPPORTED_TTL_SECS` as a cap for `minTtl`/`maxTtl`, but does not apply it for `negativeTtl` that may suffer from the same problem of scheduling tasks with too big delay on the `EventLoop`. See b47fb81 Modifications: - Apply `MAX_SUPPORTED_TTL_SECS` cap for `negativeTtl` in ctor; Result: `negativeTtl` is capped by `MAX_SUPPORTED_TTL_SECS`.
- Loading branch information