You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/04/05 21:48:07 UTC
[airflow] 08/16: Increase timeout for building the docs (#15157)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 321237a74b2494d05804ce1ff1f3a315ccc65b7a
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sat Apr 3 10:27:58 2021 +0200
Increase timeout for building the docs (#15157)
Sometimes when docs are building in parallel, it takes longer
than 4 minutes to build a big package and the job fails with
timeout.
This change increases the individual package build timeout to
be longer (8 minutes instead of 4)
(cherry picked from commit 95ae24a953fb5d47452e492cea94768a2c8c3ec5)
---
docs/exts/docs_build/code_utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/exts/docs_build/code_utils.py b/docs/exts/docs_build/code_utils.py
index 07fe8d0..5c88797 100644
--- a/docs/exts/docs_build/code_utils.py
+++ b/docs/exts/docs_build/code_utils.py
@@ -30,7 +30,7 @@ DOCKER_DOCS_DIR = os.path.join(DOCKER_PROJECT_DIR, "docs")
DOCKER_AIRFLOW_DIR = os.path.join(DOCKER_PROJECT_DIR, "/airflow")
ALL_PROVIDER_YAMLS = load_package_data()
AIRFLOW_SITE_DIR = os.environ.get('AIRFLOW_SITE_DIRECTORY')
-PROCESS_TIMEOUT = 4 * 60
+PROCESS_TIMEOUT = 8 * 60 # 400 seconds
TEXT_RED = '\033[31m'
TEXT_RESET = '\033[0m'