Skip to main content

validate_refresh_within_ttl

Function validate_refresh_within_ttl 

Source
fn validate_refresh_within_ttl(
    cfg: &PathPlannerConfig,
) -> Result<(), ValidationError>
Expand description

A sweep that runs less often than entries expire never reaches them: the sweep walks live entries only, so an expired one is refilled on demand, and a refill that finds no paths is PathNotFound where a refreshed entry would have kept its previous weights.