DavidLiu 3 ヶ月 前
コミット
89d6764b02
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/core/callcenter/acd.py

+ 1 - 1
src/core/callcenter/acd.py

@@ -26,7 +26,7 @@ class AcdService:
         self.agent_service = AgentOperService(app)
         self.agent_state_service = AgentStateService(app)
         self.holdsQueue: Dict[str, Queue] = {}
-        self.pool = ThreadPoolExecutor(max_workers=4)
+        # self.pool = ThreadPoolExecutor(max_workers=4)
         self.checkIdleScheduler = BackgroundScheduler()
         self.checkIdleScheduler.add_job(self.try_transfer_agent, 'interval', seconds=2, max_instances=1)
         self.checkIdleScheduler.start()