Skip to main content

DEFAULT_SYSTEM_PROXY_CONFIG_TTL

Constant DEFAULT_SYSTEM_PROXY_CONFIG_TTL 

pub const DEFAULT_SYSTEM_PROXY_CONFIG_TTL: Duration;
Available on crate feature net only.
Expand description

How long a SystemProxyLayer keeps a system proxy snapshot before lazily checking for changes.

The ten-second default follows the polling interval used by Chromium’s Windows proxy configuration service where change notifications alone are insufficient. Use SystemProxyLayer::new_with_ttl to select a different value.