uranusjr commented on code in PR #41560:
URL: https://github.com/apache/airflow/pull/41560#discussion_r1728198951
##########
airflow/config_templates/config.yml:
##########
@@ -107,6 +107,17 @@ core:
type: string
example: ~
default: "16"
+ max_active_tasks_include_deferred:
+ description: |
+ It includes the active deferred task count in the calculation for
max_active_tasks. To calculate
+ the number of tasks that is running concurrently for a DAG with this
config, add up the number of
+ running and deferred tasks for all DAG runs of the DAG. This is
configurable at the DAG level with
+ ``max_active_tasks_include_deferred``, which is defaulted as
+ ``[core] max_active_tasks_include_deferred``.
Review Comment:
```suggestion
If True, deferred tasks are considered active when calculating
max_active_tasks. To calculate
the number of tasks that is running concurrently for a DAG with this
config, add up the number of
running and deferred tasks for all DAG runs of the DAG. This is
configurable at the DAG level with
``max_active_tasks_include_deferred``, which defaults to this value.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]