From d15fd53c942918cccdc2ad0c65d918c506f352c9 Mon Sep 17 00:00:00 2001 From: Ayush Chauhan Date: Wed, 22 Jan 2020 13:22:29 +0530 Subject: [PATCH] increasing refresh interval --- airflow/config_templates/airflow-prod.cfg | 4 ++-- airflow/config_templates/airflow-staging.cfg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/airflow/config_templates/airflow-prod.cfg b/airflow/config_templates/airflow-prod.cfg index d4b089d78f53b..15b8d8476697c 100644 --- a/airflow/config_templates/airflow-prod.cfg +++ b/airflow/config_templates/airflow-prod.cfg @@ -155,7 +155,7 @@ fernet_key = {FERNET_KEY} donot_pickle = False # How long before timing out a python file import while filling the DagBag -dagbag_import_timeout = 60 +dagbag_import_timeout = 240 # The class to use for running task instances in a subprocess task_runner = StandardTaskRunner @@ -266,7 +266,7 @@ web_server_worker_timeout = 120 worker_refresh_batch_size = 1 # Number of seconds to wait before refreshing a batch of workers. -worker_refresh_interval = 60 +worker_refresh_interval = 300 # Secret key used to run your flask app secret_key = temporary_key diff --git a/airflow/config_templates/airflow-staging.cfg b/airflow/config_templates/airflow-staging.cfg index 3caa3bc622741..6ed3a3d399ee4 100644 --- a/airflow/config_templates/airflow-staging.cfg +++ b/airflow/config_templates/airflow-staging.cfg @@ -155,7 +155,7 @@ fernet_key = {FERNET_KEY} donot_pickle = False # How long before timing out a python file import while filling the DagBag -dagbag_import_timeout = 60 +dagbag_import_timeout = 240 # The class to use for running task instances in a subprocess task_runner = StandardTaskRunner @@ -266,7 +266,7 @@ web_server_worker_timeout = 120 worker_refresh_batch_size = 1 # Number of seconds to wait before refreshing a batch of workers. -worker_refresh_interval = 60 +worker_refresh_interval = 900 # Secret key used to run your flask app secret_key = temporary_key