vandonr-amz commented on code in PR #28528:
URL: https://github.com/apache/airflow/pull/28528#discussion_r1060845800
##########
airflow/executors/debug_executor.py:
##########
@@ -118,6 +119,11 @@ def trigger_tasks(self, open_slots: int) -> None:
:param open_slots: Number of open slots
"""
+ if not self.queued_tasks:
+ # wait a bit if there is no task ready to be executed to avoid
spinning too fast in the void
Review Comment:
never too sure with those, I was thinking zero is singular :p
thanks for fixing !
--
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]