<@ULVA73B9P> how do I find out what my current con...
# ask-marvin
d
@Marvin how do I find out what my current configured timeout is?
m
You can determine your current configured timeout by examining your flow's definition. The timeout is set using the
timeout_seconds
keyword argument in the
@flow
decorator. Here is an example from the Prefect documentation: from prefect import flow import time @flow(timeout_seconds=1, log_prints=True) def show_timeouts(): print("I will execute") time.sleep(5) print("I will not execute") Timeout configurations are visible in the flow's implementation or defined within the code that registers/deploys the flow. For more details, visit the Prefect documentation here.
d
@Marvin if no timeout is explicitly configured what is the default timeout?
m
The documentation does not explicitly state a default timeout for flow runs if a timeout is not configured. You might need to set it explicitly using the
timeout_seconds
keyword in your flow definition. For more details, you can check the Prefect documentation here.