Mehdi Nazari
08/09/2021, 4:41 PMKevin Kho
timeout on the task level. If using Prefect Cloud, you can use an automation to change the state after a certain amount of time (mark as failed or send a notification)Mehdi Nazari
08/09/2021, 4:54 PMKevin Kho
Mehdi Nazari
08/09/2021, 5:06 PMKevin Kho
task(timeout=…) and then use a state handler, but timeouts don’t work all the time.Mehdi Nazari
08/09/2021, 5:08 PMWhile True: condition in it? What are best practices?Kevin Kho
Mehdi Nazari
08/09/2021, 5:13 PMWhile True in my case, is not particularly listening for an event to get triggered! This is our mechanism to go over millions of records in a storage (db) and process information.
Would you be interested to take a look?Kevin Kho
while True: in the task should work.Mehdi Nazari
08/09/2021, 5:16 PM