Skip to main content

prune_goal

Function prune_goal 

Source
pub(crate) fn prune_goal(
    len: usize,
    max: usize,
    emergency: usize,
    batch: usize,
) -> usize
Expand description

Per-round drop goal for the paced receive-path prune: an uncapped cut down to the emergency bound, but never slower than the per-event batch down to the cap. All saturating.