部署与运维
Configure workflow timeouts
A workflow times out and gets canceled after this time (in seconds). If the workflow runs in the main process, a soft timeout happens (takes effect after the current node finishes). If a workflow runs in its own process, n8n attempts a soft timeout first, then kills the process after waiting for a fifth of the given timeout duration.
EXECUTIONS_TIMEOUT default is -1. For example, if you want to set the timeout to one hour:
export EXECUTIONS_TIMEOUT=3600You can also set maximum execution time (in seconds) for each workflow individually. For example, if you want to set maximum execution time to two hours:
export EXECUTIONS_TIMEOUT_MAX=7200Refer to Environment variables reference for more information on these variables.
官方原文和授权
本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。