Skip to main content

relay_request_timeout

Function relay_request_timeout 

Source
pub fn relay_request_timeout(clearnet: Duration) -> Duration
Expand description

Adjust a relay request budget for the transport actually in use.

Companion to relay_connect_timeout for round trips rather than connections. A relay that answers a probe in 200ms direct can take many seconds through three hops, so a clearnet-sized budget reads a healthy relay as dead.