Skip to main content

prune_tasks

Function prune_tasks 

Source
fn prune_tasks(
    tasks: &mut BTreeMap<ArrayString<TASK_ID_LEN>, Task>,
    now_ms: u64,
)
Expand description

Drop terminal tasks past the retention window, then cap the survivors.