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

   Could you use a [cluster DAG 
policy](https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/cluster-policies.html#)?
 You can add the desired DAGs into a list object, and do something like...
   
   ```
   def dag_policy(dag: DAG):
       """Configure max_active_runs for group of DAGs."""
       if dag.dag_id in ["dag_a", "dag_b"] :
           dag.max_active_runs = 1
   
   ``` 


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