Skip to main content

next_entry

Function next_entry 

Source
fn next_entry(outcome: Outcome, failures: u32) -> Option<Entry>
Expand description

The entry a pusher gets after an outcome, if any.

A sent or idle pusher leaves the schedule, a pending one returns at its due time, and a failed one backs off from RETRY_MIN up to RETRY_MAX.