This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 7ba20f5cb019f4e37292dacdce9561d12b83312a
Author: mgorsk1 <[email protected]>
AuthorDate: Thu Jul 29 21:36:57 2021 +0200

    docs: fix inconsistencies in configuration docs (#17317)
    
    (cherry picked from commit 2020a544c8208c8c3c9763cf0dbb6b2e1a145727)
---
 airflow/config_templates/config.yml          | 14 ++++----------
 airflow/config_templates/default_airflow.cfg | 14 ++++----------
 2 files changed, 8 insertions(+), 20 deletions(-)

diff --git a/airflow/config_templates/config.yml 
b/airflow/config_templates/config.yml
index 9f7c640..9945213 100644
--- a/airflow/config_templates/config.yml
+++ b/airflow/config_templates/config.yml
@@ -1819,36 +1819,30 @@
       default: "True"
     - name: max_dagruns_to_create_per_loop
       description: |
-        Max number of DAGs to create DagRuns for per scheduler loop
-
-        Default: 10
+        Max number of DAGs to create DagRuns for per scheduler loop.
       example: ~
       version_added: 2.0.0
       type: string
-      default: ~
+      default: "10"
       see_also: ":ref:`scheduler:ha:tunables`"
     - name: max_dagruns_per_loop_to_schedule
       description: |
         How many DagRuns should a scheduler examine (and lock) when scheduling
         and queuing tasks.
-
-        Default: 20
       example: ~
       version_added: 2.0.0
       type: string
-      default: ~
+      default: "20"
       see_also: ":ref:`scheduler:ha:tunables`"
     - name: schedule_after_task_execution
       description: |
         Should the Task supervisor process perform a "mini scheduler" to 
attempt to schedule more tasks of the
         same DAG. Leaving this on will mean tasks in the same DAG execute 
quicker, but might starve out other
         dags in some circumstances
-
-        Default: True
       example: ~
       version_added: 2.0.0
       type: boolean
-      default: ~
+      default: "True"
     - name: parsing_processes
       description: |
         The scheduler can run multiple processes in parallel to parse dags.
diff --git a/airflow/config_templates/default_airflow.cfg 
b/airflow/config_templates/default_airflow.cfg
index 1cdf8b4..03d5e1f 100644
--- a/airflow/config_templates/default_airflow.cfg
+++ b/airflow/config_templates/default_airflow.cfg
@@ -909,23 +909,17 @@ max_tis_per_query = 512
 # scheduler at once
 use_row_level_locking = True
 
-# Max number of DAGs to create DagRuns for per scheduler loop
-#
-# Default: 10
-# max_dagruns_to_create_per_loop =
+# Max number of DAGs to create DagRuns for per scheduler loop.
+max_dagruns_to_create_per_loop = 10
 
 # How many DagRuns should a scheduler examine (and lock) when scheduling
 # and queuing tasks.
-#
-# Default: 20
-# max_dagruns_per_loop_to_schedule =
+max_dagruns_per_loop_to_schedule = 20
 
 # Should the Task supervisor process perform a "mini scheduler" to attempt to 
schedule more tasks of the
 # same DAG. Leaving this on will mean tasks in the same DAG execute quicker, 
but might starve out other
 # dags in some circumstances
-#
-# Default: True
-# schedule_after_task_execution =
+schedule_after_task_execution = True
 
 # The scheduler can run multiple processes in parallel to parse dags.
 # This defines how many processes will run.

Reply via email to