Skip to main content

MCP_STREAM_HEARTBEAT_SECS

Constant MCP_STREAM_HEARTBEAT_SECS 

Source
pub const MCP_STREAM_HEARTBEAT_SECS: u64 = 30;
Expand description

Heartbeat cadence for the resumable /mcp GET stream. Matches the /v1/graph/stream discipline (30s) so operator tooling can use one timeout knob. v0.11.0 P2 makes this configurable indirectly via the helper signature of [build_mcp_session_stream] so tests can pass a short interval without driving the real clock for 30s.