Skip to main content

NET_SECS

Constant NET_SECS 

Source
pub const NET_SECS: i64 = 10;
Expand description

A resolve or a TCP transaction crosses the network, so the five-second default is too tight. net-stack bounds a DNS resolve by the CLIENT’s patience rather than by an attempt count (its own words, and a fix on this branch), which means the number here IS the policy.