Skip to main content

install_event_ring

Function install_event_ring 

Source
pub fn install_event_ring(cap: usize)
Expand description

Install the bounded event ring with capacity cap. Called once by the supervisor when the served agentd://events resource is wanted (gated by --serve-mcp plus the events feature at the call site). Idempotent — a second call resizes and clears. Never fatal: telemetry must not crash the run, so a poisoned lock is recovered rather than propagated.