|
@@ -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()
|