You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/03 16:51:03 UTC

[GitHub] [airflow] ephraimbuddy commented on pull request #19367: Use `dag.max_active_runs` instead of `dag_model.max_active_runs`

ephraimbuddy commented on pull request #19367:
URL: https://github.com/apache/airflow/pull/19367#issuecomment-959724479


   > Can we add a test for this case please?
   > 
   > Separately let's check why `max_active_runs` is not set via tests too
   
   I can't figure a test to add. 
   My guess for the issue is that they removed `max_active_runs_per_dag`  from their configuration. 
   To check this, I have added a fallback and also updated dag's test to ensure once DagModel is instantiated, it'll have a `max_active_runs`


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org