EVENT_CHANNEL_CAPACITY

Constant EVENT_CHANNEL_CAPACITY 

Source
pub const EVENT_CHANNEL_CAPACITY: usize = 256;
Expand description

Capacity of the event channel (DW-044). Bound chosen for alert-rate shapes: transition events are rare per upstream (a breaker flapping once per open_ms, ejections once per eject_ms), so 256 queued events is already a gateway in serious trouble — beyond it, drops (counted, gauge-exported) are the right answer, not buffering.