Skip to main content

AGENT_LINE_BUFFER_CAP

Constant AGENT_LINE_BUFFER_CAP 

Source
pub(super) const AGENT_LINE_BUFFER_CAP: usize = _; // 1_048_576usize
Expand description

Maximum size of the per-block line buffer used by the agent-event translation path. Past this, the buffer is reset (a producer that never emits a newline can’t grow it unboundedly). 1 MiB is far beyond any plausible stream-json frame size.