DavidLiu hace 3 meses
padre
commit
89d6764b02
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()