Skip to main content

EVENT_QUEUE_DEPTH

Constant EVENT_QUEUE_DEPTH 

Source
pub(crate) const EVENT_QUEUE_DEPTH: usize = 16;
Expand description

Capacity of the event channel. 16 is generous: in practice the channel holds 0 or 1 event most of the time. The producer tasks all use non-blocking try_send so an unexpected backlog drops events rather than stalling the firmware.