dstandish commented on code in PR #51410:
URL: https://github.com/apache/airflow/pull/51410#discussion_r2175544904
##########
airflow-core/src/airflow/jobs/scheduler_job_runner.py:
##########
@@ -2037,6 +2056,7 @@ def _get_num_times_stuck_in_queued(self, ti:
TaskInstance, session: Session = NE
Log.map_index == ti.map_index,
Log.try_number == ti.try_number,
Log.event == TASK_STUCK_IN_QUEUED_RESCHEDULE_EVENT,
+ since_running,
Review Comment:
It's also a bit fragile to do this because, it's not really guaranteed that
what we put in the log table won't change. (not saying there's a better option)
--
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]