Skip to main content

count_from_event_history

Function count_from_event_history 

Source
fn count_from_event_history(
    broker: &Broker,
    block_id: &str,
    filename: &str,
) -> u64
Expand description

The non-empty lines of filename still in the block’s event ring buffer (capped at MAX_PERSIST = 4096 events and the broker’s byte cap per scope): the count of last resort, for a file with no counter and no session:line_count meta.