Skip to main content

DEFAULT_RING_CAPACITY

Constant DEFAULT_RING_CAPACITY 

Source
pub const DEFAULT_RING_CAPACITY: usize = 1000;
Expand description

Default ring-buffer capacity per session (vision spec §12, 11.5).

Why: bounds per-session memory use; a freshly-attached client sees “recent progress but not the full session history” per spec — the ring buffer is the LIVE-event window, distinct from the full run transcript session.get_transcript (#2058) exposes via Self::get_transcript. Test: registry_tests::ring_buffer_drops_oldest_when_full.