<@ULVA73B9P> what does timeout and poll interval d...
# ask-marvin
j
@Marvin what does timeout and poll interval do for prefect inputs in prefect 3
m
In Prefect 3.x, the concepts of "timeout" and "poll interval" pertain to different aspects of flow and task execution management: 1. Timeout: This generally refers to the maximum duration allowed for a particular operation or process to complete before it is forcibly terminated. In Prefect, timeouts can be applied to tasks or flows to ensure they do not run indefinitely. The exact application and configuration might depend on the specific context, such as task execution or server startup. 2. Poll Interval: This is related to how frequently certain operations check for updates or changes. For example, workers in Prefect poll for work every 15 seconds by default, which can be configured using the
PREFECT_WORKER_QUERY_SECONDS
setting. This interval determines how often the worker checks for new tasks to execute. For more details, you can refer to the Prefect documentation: - Prefect 3.x Settings Reference - Infrastructure Concepts and Workers