Skip to main content

MSG_CHANNEL_CAPACITY

Constant MSG_CHANNEL_CAPACITY 

Source
pub const MSG_CHANNEL_CAPACITY: usize = 512;
Expand description

Bounded channel capacity for the effect → reducer stream. 512 is generous — a single streaming chunk fits comfortably, and the main loop drains at ~60 Hz so backlog rarely grows. Bigger wastes RAM; smaller introduces spurious backpressure on bursty tool output.