AutomationDev85 commented on code in PR #30699:
URL: https://github.com/apache/airflow/pull/30699#discussion_r1205433287
##########
airflow/jobs/scheduler_job_runner.py:
##########
@@ -1298,7 +1298,8 @@ def _should_update_dag_next_dagruns(self, dag: DAG,
dag_model: DagModel, total_a
def _start_queued_dagruns(self, session: Session) -> None:
"""Find DagRuns in queued state and decide moving them to running
state."""
- dag_runs: Collection[DagRun] =
self._get_next_dagruns_to_examine(DagRunState.QUEUED, session)
+ # added all() to save runtime, otherwise query is executed more then
once
Review Comment:
Thanks! fixed the typo and did a rebase.
--
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]