|
@@ -54,9 +54,10 @@ class AcdService:
|
|
|
self.call_service.transfer(call_info, agent_number, service_id)
|
|
|
|
|
|
def try_transfer_agent(self):
|
|
|
- # self.logger.info("AcdService tryTransferAgent start")
|
|
|
+ self.logger.info("AcdService tryTransferAgent start")
|
|
|
all_task = []
|
|
|
for k, v in self.holdsQueue.items():
|
|
|
+ self.logger.info("AcdService tryTransferAgent start, queue.k:%s, q.v", k, v.qsize())
|
|
|
all_task.append(self.pool.submit(self.holds_one_queue, k, v))
|
|
|
wait(all_task, timeout=6, return_when=ALL_COMPLETED)
|
|
|
|