Home | History | Annotate | Download | only in dns

Lines Matching full:timeout

25 // Never exceed max timeout.
27 // Set min timeout, in case we are talking to a local DNS proxy.
32 // Target percentile in the RTT histogram used for retransmission timeout.
41 // Seed histogram with 2 samples at |rtt_estimate| timeout.
48 // Last time when server returned failure or timeout.
94 server_stats_.push_back(new ServerStats(config_.timeout,
214 // Respect config timeout if it exceeds |kMaxTimeoutMs|.
215 if (config_.timeout.InMilliseconds() >= kMaxTimeoutMs)
216 return config_.timeout;
255 base::TimeDelta timeout = server_stats_[server_index]->rtt_estimate +
258 timeout = std::max(timeout, base::TimeDelta::FromMilliseconds(kMinTimeoutMs));
260 // The timeout doubles every full round.
263 return std::min(timeout * (1 << num_backoffs),
286 base::TimeDelta timeout =
289 timeout = std::max(timeout, base::TimeDelta::FromMilliseconds(kMinTimeoutMs));
291 // The timeout still doubles every full round.
294 return std::min(timeout * (1 << num_backoffs),