Expand description
Unified schedule executor for all workflow schedules.
All schedules live in the database – both those created via the REST API
and those declared by a [WorkflowHandler::schedule()]. At server startup,
call sync_handler_schedules
to reconcile handler-declared schedules, then spawn ScheduleTicker::run
which polls [claim_due_schedules] and creates a run for each claimed
schedule.
Structs§
- Schedule
Ticker - Periodic task that fires DB-persisted schedules.
Constants§
- DEFAULT_
TICK_ INTERVAL - How often the ticker checks for due schedules.