diff --git a/airflow/config_templates/airflow-prod.cfg b/airflow/config_templates/airflow-prod.cfg index d4b089d78f53..15b8d8476697 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 3caa3bc62274..6ed3a3d399ee 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