Skip to main content

MCP_SESSION_SWEEP_INTERVAL_SECS

Constant MCP_SESSION_SWEEP_INTERVAL_SECS 

Source
pub const MCP_SESSION_SWEEP_INTERVAL_SECS: u64 = 60;
Expand description

Cadence (seconds) for the background sweep task that removes expired sessions. Lazy expiry on every get is the primary safety net; the sweep keeps total memory bounded between accesses for idle sessions.