pub const DEFAULT_TIMEOUT: Duration;Expand description
The total deadline – connect, send the request, and read the response – for a request to a server this deployment does not run: an operator’s PDS, a relay, the ACME directory, a client’s own metadata document.
Ten seconds, the value this workspace already used at its two busiest outbound call sites (the relay announcement and the OAuth client metadata fetch) before this crate existed. Long enough that an ordinary server answers comfortably inside it; short enough that whatever is waiting on the request – a poll tick, a boot sequence – finds out a peer has stalled in single-digit seconds rather than never.