Skip to main content

IROH_REQUEST_TIMEOUT_DEFAULT

Constant IROH_REQUEST_TIMEOUT_DEFAULT 

Source
const IROH_REQUEST_TIMEOUT_DEFAULT: Duration;
Expand description

Wall-clock budget for a single iroh API request to make it through the QUIC bi-stream (open + write + finish + read response). If exceeded we close the underlying [Connection], which causes IConnection::is_connected to return false on the next pool lookup so a fresh connection is established for the retry. Used for endpoints that respond promptly (block_count, status, etc).