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/09/03 21:32:37 UTC

[GitHub] [airflow] ephraimbuddy commented on issue #18023: Many queued Dagruns created for DagRuns with a start_date in the past

ephraimbuddy commented on issue #18023:
URL: https://github.com/apache/airflow/issues/18023#issuecomment-912822201


   > This can potentially impact the time to move a DagRun from queued to running, as the _start_queued_dagruns function has to iterate through the entire set of queued DagRuns (looking at max_dagruns_per_loop_to_schedule at a time) before it re-examines a given DagRun.
   
   It doesn't go through the entire dagruns. It goes through a subset controlled by `max_dagruns_per_loop_to_schedule`. And dagruns returned are ordered by `last_scheduling_decision`,  unless you are seeing a performance impact?


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