Marvin
01/17/2024, 7:47 AMtimeout_seconds
parameter commonly appears in the context of configuring task retries and setting execution time limits for tasks or flow runs.
From the excerpts, it seems the specific use of timeout_seconds
was not directly found, but we did find a related parameter retry_delay_seconds
, which allows you to configure delays for task retries. You can establish a list of delays, like [1, 10, 100]
seconds for consecutive retries, and even use a callable to create a backoff strategy. Prefect also includes a utility for an exponential_backoff strategy, which generates a list of retry delays following an exponential backoff pattern.
In the context of flow runs, there is an implicit timeout behavior, where suspended flow runs will timeout after one hour by default, causing the flow run to fail.
For further details or other uses, it would be best to refer to the official Prefect documentation or the source code comments where timeout_seconds
is used.