Skip to content

Commit 5d15343

Browse files
committed
Restore Airflow limits to defaults
1 parent a852f3d commit 5d15343

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins/airflow/airflow.cfg

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ executor = LocalExecutor
2727
# Airflow, regardless of the worker count. Generally this value, multiplied by the number of
2828
# schedulers in your cluster, is the maximum number of task instances with the running
2929
# state in the metadata database.
30-
parallelism = 16
30+
parallelism = 32
3131

3232
# The maximum number of task instances allowed to run concurrently in each DAG. To calculate
3333
# the number of tasks that is running concurrently for a DAG, add up the number of running
@@ -76,7 +76,7 @@ dagbag_import_error_tracebacks = True
7676
dagbag_import_error_traceback_depth = 2
7777

7878
# How long before timing out a DagFileProcessor, which processes a dag file
79-
dag_file_processor_timeout = 90
79+
dag_file_processor_timeout = 50
8080

8181
# The class to use for running task instances in a subprocess.
8282
# Choices include StandardTaskRunner, CgroupTaskRunner or the full import path to the class
@@ -926,11 +926,11 @@ scheduler_idle_sleep_time = 1
926926
# Number of seconds after which a DAG file is parsed. The DAG file is parsed every
927927
# ``min_file_process_interval`` number of seconds. Updates to DAGs are reflected after
928928
# this interval. Keeping this number low will increase CPU usage.
929-
min_file_process_interval = 900
929+
min_file_process_interval = 30
930930

931931
# How often (in seconds) to check for stale DAGs (DAGs which are no longer present in
932932
# the expected files) which should be deactivated.
933-
deactivate_stale_dags_interval = 900
933+
deactivate_stale_dags_interval = 60
934934

935935
# How often (in seconds) to scan the DAGs directory for new files. Default to 5 minutes.
936936
dag_dir_list_interval = 300

0 commit comments

Comments
 (0)