Skip to main content

DEFAULT_MAX_HELD_EVENTS_FACTOR

Constant DEFAULT_MAX_HELD_EVENTS_FACTOR 

Source
pub const DEFAULT_MAX_HELD_EVENTS_FACTOR: usize = 8 /* 8usize */;
Expand description

How many times max_events_per_task a task’s log may hold while an attached stream still owes its oldest events, when nothing else is asked for: 8, so 4,096 events at the default bound.

See TaskStoreConfig::max_held_events_factor for why the ceiling is a multiple of the bound rather than a count of its own.