DavidLiu 3 月之前
父節點
當前提交
6837d0d58b
共有 1 個文件被更改,包括 2 次插入1 次删除
  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)