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 2022/09/09 22:37:42 UTC

[GitHub] [airflow] ashb commented on a diff in pull request #26287: Respect max_active_runs setting when queuing dataset-driven dag runs

ashb commented on code in PR #26287:
URL: https://github.com/apache/airflow/pull/26287#discussion_r967523207


##########
airflow/jobs/scheduler_job.py:
##########
@@ -1105,7 +1109,14 @@ def _create_dag_runs_dataset_triggered(
                     dag_model.dag_id,
                 )
                 continue
-
+            if active_runs_of_dags[dag_model.dag_id] >= dag_model.max_active_runs:
+                self.log.info(

Review Comment:
   This needs to be debug level else it'll work the scheduler logs I think?



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