Skip to main content

VGABUF_CAPACITY

Constant VGABUF_CAPACITY 

Source
pub const VGABUF_CAPACITY: usize = 512;
Expand description

Maximum number of lines stored in the circular buffer. 512 gives ample headroom: at 100Hz flush × 30 lines/batch, the writer would need to produce >512 log messages between two reader ticks to overwrite an unread slot.