kosteev commented on code in PR #52662:
URL: https://github.com/apache/airflow/pull/52662#discussion_r2222602407


##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py:
##########
@@ -530,7 +530,11 @@ def terminate(self) -> None:
         self.log.debug("Terminating kube_watchers...")
         for kube_watcher in self.kube_watchers.values():
             kube_watcher.terminate()
-            kube_watcher.join()
+            kube_watcher.join(timeout=60)

Review Comment:
   Is timeout 60 actually too high?
   
   I wonder of the scenario when scheduler tries to stop (because reached limit 
of loops) and then start again. In this case, there will be delay of one 
minute, when scheduler is not available.



-- 
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]

Reply via email to