Skip to main content

Module execution_deadline

Module execution_deadline 

Source
Expand description

Execution deadline scanner.

Iterates ff:idx:{p:N}:execution_deadline for each partition, finding executions whose absolute deadline score is <= now. For each, calls FCALL ff_expire_execution which handles all lifecycle phases (active, runnable, suspended) and transitions to terminal(expired).

This is distinct from the attempt_timeout scanner: attempt_timeout tracks per-attempt relative deadlines, while execution_deadline tracks the absolute maximum lifetime of the entire execution regardless of retries, suspensions, or delays.

Reference: RFC-001 §execution_deadline, RFC-010 §6

Structs§

ExecutionDeadlineScanner