|
@@ -659,8 +659,8 @@ class BotAgent:
|
|
|
registry.BOT_CREATE_ACCOUNT_LATENCY.observe(latency)
|
|
|
self.logger.info("create pjsua latency: %.3fs", latency)
|
|
|
|
|
|
- self._add_new_job()
|
|
|
- self.ep.mainLoop()
|
|
|
+ my_thread = threading.Thread(target=self._add_new_job)
|
|
|
+ my_thread.start()
|
|
|
while not self.is_stopping:
|
|
|
self.logger.info('1111111111111111111')
|
|
|
registry.BOT_AGENT_LIVES.set(self.user_part_pool.qsize())
|