Skip to main content

DEFAULT_MCP_TIMEOUT

Constant DEFAULT_MCP_TIMEOUT 

Source
pub const DEFAULT_MCP_TIMEOUT: Duration;
Expand description

Default per-request timeout (connect handshake + every subsequent request()) for the network transports — stdio has no analogous “hung server” risk distinct from a hung read, so it is NOT subject to this timeout (a misbehaving stdio child can still be killed by the caller; kill_on_drop already covers process cleanup).