Skip to main content

prefect.server.services.late_runs

The MarkLateRuns service. Responsible for putting flow runs in a Late state if they are not started on time. The threshold for a late run can be configured by changing PREFECT_API_SERVICES_LATE_RUNS_AFTER_SECONDS.

Functions

mark_flow_run_late

Mark a single flow run as late (docket task).

monitor_late_runs

Monitor for late flow runs and schedule marking tasks.