RNHTTR commented on issue #40528:
URL: https://github.com/apache/airflow/issues/40528#issuecomment-2287124991

   `max_active_tasks` already exists to limit the number of tasks in the 
`running` or `queued` state for a given DAG. the proposal here is to include 
tasks that are in the `deferred` state in this calculation.
   
   Per @raphaelauv 's suggestion, I think there should be a new parameter 
`max_active_tasks_include_deferred` which will be `False` by default. When this 
parameter is set to `True`, then tasks in the `deferred` status should count 
toward the calculation for `max_active_tasks`.


-- 
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]

Reply via email to