Skip to main content

default_task_retry_delay_secs

Function default_task_retry_delay_secs 

Source
pub const fn default_task_retry_delay_secs(attempt_count: i32) -> i64
Expand description

Default retry delay used by Aster task dispatchers.

The delay is intentionally short for the first two attempts and then backs off to a stable five-minute retry interval. Product crates can pass a custom delay function into the execution runner when a task subsystem needs a different retry cadence.