You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2023/05/15 02:25:28 UTC
[GitHub] [airflow] uranusjr commented on a diff in pull request #30699: Save scheduler execution time during search for queued dag_runs
uranusjr commented on code in PR #30699:
URL: https://github.com/apache/airflow/pull/30699#discussion_r1193271836
##########
airflow/models/dagrun.py:
##########
@@ -344,7 +344,7 @@ def next_dagruns_to_examine(
return with_row_locks(
query.limit(max_number), of=cls, session=session, **skip_locked(session=session)
- )
+ ).all()
Review Comment:
I feel adding this in `_start_queued_dagruns` instead may be the better abstraction.
--
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