Skip to content

Commit

Permalink
Fix doc description of [core] parallelism config setting (#23768)
Browse files Browse the repository at this point in the history
  • Loading branch information
repl-chris committed May 18, 2022
1 parent 820d8eb commit 2303750
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions airflow/config_templates/config.yml
Expand Up @@ -62,9 +62,10 @@
default: "SequentialExecutor"
- name: parallelism
description: |
This defines the maximum number of task instances that can run concurrently in Airflow
regardless of scheduler count and worker count. Generally, this value is reflective of
the number of task instances with the running state in the metadata database.
This defines the maximum number of task instances that can run concurrently per scheduler in
Airflow, regardless of the worker count. Generally this value, multiplied by the number of
schedulers in your cluster, is the maximum number of task instances with the running
state in the metadata database.
version_added: ~
type: string
example: ~
Expand Down
7 changes: 4 additions & 3 deletions airflow/config_templates/default_airflow.cfg
Expand Up @@ -53,9 +53,10 @@ default_timezone = utc
# full import path to the class when using a custom executor.
executor = SequentialExecutor

# This defines the maximum number of task instances that can run concurrently in Airflow
# regardless of scheduler count and worker count. Generally, this value is reflective of
# the number of task instances with the running state in the metadata database.
# This defines the maximum number of task instances that can run concurrently per scheduler in
# Airflow, regardless of the worker count. Generally this value, multiplied by the number of
# schedulers in your cluster, is the maximum number of task instances with the running
# state in the metadata database.
parallelism = 32

# The maximum number of task instances allowed to run concurrently in each DAG. To calculate
Expand Down

0 comments on commit 2303750

Please sign in to comment.