dstandish commented on code in PR #26639:
URL: https://github.com/apache/airflow/pull/26639#discussion_r1036357612
##########
airflow/executors/kubernetes_executor.py:
##########
@@ -370,7 +416,17 @@ def sync(self) -> None:
"""
self.log.debug("Syncing KubernetesExecutor")
self._health_check_kube_watcher()
- while True:
+
+ multi_threads_queue_process(
+ queue_size=self.watcher_queue.qsize(),
+ queue_type='watcher',
+ process_method=self.process_watcher_queue,
Review Comment:
what is the point of multithreading `process_watcher_queue`?
it does not appear that it makes any network calls.
--
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]