update config for limit resouce size
This commit is contained in:
@@ -40,7 +40,7 @@ might_contain_dag_callable = airflow.utils.file.might_contain_dag_via_default_he
|
||||
#
|
||||
# Variable: AIRFLOW__CORE__DEFAULT_TIMEZONE
|
||||
#
|
||||
default_timezone = utc
|
||||
default_timezone = Asia/Bangkok
|
||||
|
||||
# The executor class that airflow should use. Choices include
|
||||
# ``LocalExecutor``, ``CeleryExecutor``,
|
||||
@@ -90,7 +90,7 @@ simple_auth_manager_all_admins = False
|
||||
#
|
||||
# Variable: AIRFLOW__CORE__PARALLELISM
|
||||
#
|
||||
parallelism = 8
|
||||
parallelism = 2
|
||||
|
||||
# The maximum number of task instances allowed to run concurrently in each dag run.
|
||||
# This is also configurable per-dag with ``max_active_tasks``,
|
||||
@@ -115,7 +115,7 @@ dags_are_paused_at_creation = True
|
||||
#
|
||||
# Variable: AIRFLOW__CORE__MAX_ACTIVE_RUNS_PER_DAG
|
||||
#
|
||||
max_active_runs_per_dag = 16
|
||||
max_active_runs_per_dag = 1
|
||||
|
||||
# (experimental) The maximum number of consecutive DAG failures before DAG is automatically paused.
|
||||
# This is also configurable per DAG level with ``max_consecutive_failed_dag_runs``,
|
||||
@@ -2166,7 +2166,7 @@ refresh_interval = 300
|
||||
#
|
||||
# Variable: AIRFLOW__DAG_PROCESSOR__PARSING_PROCESSES
|
||||
#
|
||||
parsing_processes = 2
|
||||
parsing_processes = 1
|
||||
|
||||
# One of ``modified_time``, ``random_seeded_by_host`` and ``alphabetical``.
|
||||
# The DAG processor will list and sort the dag files to decide the parsing order.
|
||||
@@ -2193,7 +2193,9 @@ max_callbacks_per_loop = 20
|
||||
#
|
||||
# Variable: AIRFLOW__DAG_PROCESSOR__MIN_FILE_PROCESS_INTERVAL
|
||||
#
|
||||
min_file_process_interval = 30
|
||||
min_file_process_interval = 90
|
||||
|
||||
dag_dir_list_interval = 90
|
||||
|
||||
# How long (in seconds) to wait after we have re-parsed a DAG file before deactivating stale
|
||||
# DAGs (DAGs which are no longer present in the expected files). The reason why we need
|
||||
@@ -2491,7 +2493,7 @@ flower_basic_auth =
|
||||
#
|
||||
# Variable: AIRFLOW__CELERY__SYNC_PARALLELISM
|
||||
#
|
||||
sync_parallelism = 0
|
||||
sync_parallelism = 2
|
||||
|
||||
# Import path for celery configuration options
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user