Expand description
Resolution of approval gates that missed their SLA deadline.
An approval gate can carry a deadline. The deadline lives on the step row, so
it survives an API or worker restart. The Escalator periodically hands
every expired gate to the engine’s
ApprovalEscalator, which
applies the gate’s configured escalation policy.
Gates without a deadline are never touched, and a deadline fires at most once even when several API instances run this loop.
Structs§
- Escalator
- Periodic task that escalates approval gates past their deadline.
Constants§
- DEFAULT_
ESCALATOR_ BATCH_ SIZE - How many gates a single tick resolves.
- DEFAULT_
ESCALATOR_ INTERVAL - How often expired approval deadlines are collected.