DavidLiu 3 maanden geleden
bovenliggende
commit
3df0c8be70
1 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. 3 1
      src/core/callcenter/acd.py

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

@@ -57,9 +57,11 @@ class AcdService:
         self.cache.add_call_info(call_info)
 
     def try_transfer_agent(self):
-        # self.logger.info("AcdService tryTransferAgent start")
+        print("AcdService tryTransferAgent start", len(self.holdsQueue), flush=True)
+        self.logger.info("AcdService tryTransferAgent start")
         all_task = []
         for k, v in self.holdsQueue.items():
+            print("AcdService tryTransferAgent start, queue.k:%s, queue.v:%s"% (k, v.qsize()), flush=True)
             self.logger.info("AcdService tryTransferAgent start, queue.k:%s, queue.v:%s", k, v.qsize())
             if v.qsize() <= 0:
                 self.holdsQueue.pop(k, None)