DavidLiu 3 ay önce
ebeveyn
işleme
6837d0d58b
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      src/core/callcenter/esl/client.py

+ 2 - 1
src/core/callcenter/esl/client.py

@@ -101,7 +101,8 @@ class InboundClient:
                     self.start()
                 else:
                     registry.FLASK_ACTIVE_THREADS.set(threading.active_count())
-                    self.choose_thread_pool_executor(e).submit(self.process_esl_event, e)
+                    threading.Thread(target=self.process_esl_event, args=(e,)).start()
+                    # self.choose_thread_pool_executor(e).submit(self.process_esl_event, e)
 
     def choose_thread_pool_executor(self, e):
         call_id = EslEventUtil.getCallId(e)