Skip to main content

requeue_with_ttl

Function requeue_with_ttl 

Source
pub fn requeue_with_ttl(
    process: &Process,
    now: DateTime<Utc>,
    default: Duration,
) -> Duration
Expand description

Sleep budget the controller should requeue with for a Process whose evaluate() returned Skip — picks the smaller of HEARTBEAT and TTL-remaining so we don’t oversleep past expiry.