Skip to main content

DHT_CLIENT_TIMEOUT

Constant DHT_CLIENT_TIMEOUT 

Source
pub const DHT_CLIENT_TIMEOUT: Duration;
Expand description

Per-request hard timeout for outbound DHT exchanges. Shorter than the sum of the server-side accept-bi timeout (5s) and read timeout (5s) in crate::handlers::dht so a hung peer doesn’t wedge a republish sweep.