Skip to main content

REQUEST_TIMEOUT

Constant REQUEST_TIMEOUT 

Source
pub const REQUEST_TIMEOUT: Duration;
Expand description

How long RelayClient::request_crawl and RelayClient::notify_of_update wait before giving up.

A relay this server cannot reach must not hang the operator command that calls either forever; a generous bound rather than a tight one, since an operator invoking this waits on it interactively and nothing here is latency-sensitive.