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.

Classes

MarkLateRuns

Finds flow runs that are later than their scheduled start time

A flow run is defined as “late” if has not scheduled within a certain amount of time after its scheduled start time. The exact amount is configurable in Prefect REST API Settings.

Methods:

service_settings

service_settings(cls) -> ServicesBaseSetting