Browse Source

转人工测试,fix

774056846 4 months ago
parent
commit
44d9ef4fd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/callcenter/esl/client.py

+ 1 - 1
src/core/callcenter/esl/client.py

@@ -480,7 +480,6 @@ class OutboundClient:
 
     def __init__(self, agent, logger):
         self.logger = logger
-        self.snowflake = Snowflake()
         # self.whitelist = self.load_whitelist()
         #threading.Thread(target=self.start, args=('0.0.0.0', 8084, agent, logger)).start()
         server_thread = threading.Thread(target=self.start, args=('0.0.0.0', 8084, agent, logger))
@@ -551,6 +550,7 @@ class OutboundClient:
         def __init__(self, server_address, RequestHandlerClass, agent, logger):
             self.agent = agent
             self.logger = logger
+            self.snowflake = Snowflake()
             super().__init__(server_address, RequestHandlerClass)
 
     def start(self, HOST='0.0.0.0', PORT=8084, agent=None, logger=None):