vincbeck commented on code in PR #42386:
URL: https://github.com/apache/airflow/pull/42386#discussion_r1772062468
##########
airflow/models/dagrun.py:
##########
@@ -388,55 +389,88 @@ def active_runs_of_dags(
return dict(iter(session.execute(query)))
@classmethod
- def next_dagruns_to_examine(
- cls,
- state: DagRunState,
- session: Session,
- max_number: int | None = None,
- ) -> Query:
+ @retry_db_transaction
+ def running_dag_runs_to_examine(cls, session: Session) -> Query:
Review Comment:
Small nit/question. Should we name it `get_running_dag_runs_to_examine` to
be explicit that we only get these dag runs? That applies for the other
function as well
--
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]