Pierre Monico01/17/2022, 10:09 AM
Anna Geller01/17/2022, 10:26 AM
To set the same globally, this syntax should work:
timeout (Union[int, timedelta], optional): The amount of time (in seconds) to wait while running this task before a timeout occurs; note that sub-second resolution is not supported, even when passing in a timedelta.
Regarding late runs, perhaps you could try to implement a state handler similar to this.
export PREFECT__TASKS__DEFAULTS__TIMEOUT=3600 # in seconds
Pierre Monico01/17/2022, 10:42 AM
wouldn’t time out and make the task fail 2. Thanks for the hint, I’ll check that 3. It’s on a simple VM (in the process of migrating) and I am not doing any long-running jobs 4. Not really
Anna Geller01/17/2022, 10:51 AM
Pierre Monico01/17/2022, 11:02 AM
as global option? I could send a PR at some point
Anna Geller01/31/2022, 10:32 AM