https://prefect.io logo
Title
t

Timo

12/05/2022, 1:26 PM
Hi all, is there a parameter to define when a flow is considered as late? So when we start at deployment manually the flow always went into state "Late" which then triggers a notification but few seconds later its running. Solution for that would be to define "Late" after e.g. 30 sec. Thanks
🙌 1
m

Mason Menges

12/06/2022, 6:07 PM
Hey @Timo this setting isn't exposed for cloud currently but we've taken that feedback to our product team since, in theory, this should be relatively simple to expose
t

Timo

12/07/2022, 6:45 AM
Hi @Mason Menges, sounds great. We're currently using a local Orion instance but I think this will be maybe a ENV variable to set on the server, right? Should I fill a feature request on GitHub for that?
m

Mason Menges

12/07/2022, 4:22 PM
If your running Orion Locally then you should be able to update this setting
PREFECT_ORION_SERVICES_LATE_RUNS_AFTER_SECONDS='0:00:05'
✅ 1
which can be set as an environment variable 😄 or with
prefect config set PREFECT_ORION_SERVICES_LATE_RUNS_AFTER_SECONDS='0:00:05'
🙌 1
t

Timo

12/08/2022, 5:51 AM
True. Sorry I missed that one. Thank you very much @Mason Menges 🙌
m

Mason Menges

12/08/2022, 3:24 PM
No problem 😄