RNHTTR commented on code in PR #30108:
URL: https://github.com/apache/airflow/pull/30108#discussion_r1137111156
##########
airflow/jobs/scheduler_job.py:
##########
@@ -853,6 +858,10 @@ def _run_scheduler_loop(self) -> None:
# Check on start up, then every configured interval
self.adopt_or_reset_orphaned_tasks()
+ if self._task_queued_timeout:
+ self._fail_tasks_stuck_in_queued()
+ timers.call_regular_interval(self._task_queued_timeout,
self._fail_tasks_stuck_in_queued)
Review Comment:
I was following the precedent set by `adopt_or_reset_orphaned_tasks` (line
858), which runs on scheduler start up and then at a regular interval.
--
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]