Giacomo Chiarella
11/18/2024, 8:15 AMBianca Hoch
11/18/2024, 2:35 PMPending
, you could set up an automation which triggers if a run stays in Pending
for more than "x" amount of time. The automation action could be to a) cancel the hanging flow run, and b) kick off a new flow run for that particular deployment.
In theory you could change the flow run's state to Running
with the automation action, but forcing that state may not work as intended. 🤔Giacomo Chiarella
11/18/2024, 2:56 PMyou could set up an automation which triggers if a run stays in Pending for more than "x" amount of time
does this mean that Prefect can actively trigger a flow run based on events or do you mean to schedule a flow run every X hours and search for pending flow runs?Bianca Hoch
11/18/2024, 2:57 PMdoes this mean that Prefect can actively trigger a flow run based on events^ yes 🙌
Bianca Hoch
11/18/2024, 2:58 PMGiacomo Chiarella
11/18/2024, 3:01 PMBianca Hoch
11/18/2024, 3:21 PMGiacomo Chiarella
11/18/2024, 4:23 PM