uranusjr commented on PR #28685:
URL: https://github.com/apache/airflow/pull/28685#issuecomment-1369408578

   I wonder if we need to separate handling of the two queues
   
   ```python
   try:
       self._flush_task_queue()
       self.task_queue.join()  # Should be empty.
   except ConnectionResetError:
       self.log.exception(...)
   try:
       self._flush_result_queue()
       self.result_queue.join()
   except ConnectionResetError:
       self.log.exception(...)
   if self.kube_scheduler:
       self.kube_scheduler.terminate()
   self._manager.shutdown()
   ```
   
   Or this is entirely irrelevant?


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