hugochinchilla commented on PR #28333:
URL: https://github.com/apache/airflow/pull/28333#issuecomment-1353069666

   @bolkedebruin there is the setting 
`scheduler.max_dagruns_to_create_per_loop` which limits the query that 
retrieves the dags that can be run ([see 
here](https://github.com/apache/airflow/blob/2794662459b6d2f40b55b9b1d39eed14b5c3c5e9/airflow/models/dag.py#L3373-L3386)).
   
   It could happen that all the returned items are returned because they are in 
`dataset_triggered_dag_ids`, then the rules evaluated in python could reject 
all items. If that where to happen the scheduler would loop forever without 
consuming any job.


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