Dinghang commented on code in PR #26639:
URL: https://github.com/apache/airflow/pull/26639#discussion_r1083695432
##########
airflow/executors/kubernetes_executor.py:
##########
@@ -599,8 +655,31 @@ def sync(self) -> None:
raise AirflowException(NOT_STARTED_MESSAGE)
self.kube_scheduler.sync()
- last_resource_version = None
- while True:
+ """processing result queue"""
+ multi_threads_queue_process(
+ queue_size=self.result_queue.qsize(),
+ queue_type='result',
+ process_method=self.process_result_queue,
Review Comment:
Hi @hterik , I'll think about it. either the way you mentioned above or a
lock. But no matter which way we go, need to also verify that in our prod env
for while first. Then the PR readiness delay is expected.
--
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]