From 807d3f91f0fc8589b465fafcb27a06b10988bd6e Mon Sep 17 00:00:00 2001 From: Kiyofumi Sano <62272140+Kiyo510@users.noreply.github.com> Date: Mon, 12 Aug 2024 11:51:52 +0900 Subject: [PATCH] [ISSUE 661] Add documentation about timeouts for DAG tasks (#662) --- docs/source/yaml_format.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/yaml_format.rst b/docs/source/yaml_format.rst index c671c2372..7237eb83e 100644 --- a/docs/source/yaml_format.rst +++ b/docs/source/yaml_format.rst @@ -317,6 +317,7 @@ This section provides a comprehensive list of available fields that can be used - ``logDir``: The directory where the standard output is written. The default value is ``${HOME}/.local/share/logs``. - ``restartWaitSec``: The number of seconds to wait after the DAG process stops before restarting it. - ``histRetentionDays``: The number of days to retain execution history (not for log files). +- ``timeout``: The timeout of the DAG, which is optional. Unit is seconds. - ``delaySec``: The interval time in seconds between steps. - ``maxActiveRuns``: The maximum number of parallel running steps. - ``params``: The default parameters that can be referred to by ``$1``, ``$2``, and so on. @@ -342,7 +343,8 @@ Example: - PATH: /usr/local/bin:${PATH} logDir: ${LOG_DIR} restartWaitSec: 60 - histRetentionDays: 3 + histRetentionDays: 3 + timeout: 3600 delaySec: 1 maxActiveRuns: 1 params: param1 param2