Skip to main content

HANDSHAKE_TIMEOUT

Constant HANDSHAKE_TIMEOUT 

Source
pub const HANDSHAKE_TIMEOUT: Duration;
Expand description

Wall-clock bound on one server’s whole startup: handshake plus tools/list.

Why: StdioMcpClient bounds each REQUEST at 30s, which is far too long to wait at task startup and, with two requests, twice as long again. A server that cannot introduce itself in ten seconds is not one this run should block on. Test: super::tests::spawn_tests::handshake_timeout_is_ten_seconds.