|
@@ -568,6 +568,7 @@ class BotAgent:
|
|
|
self.release(user_part)
|
|
|
|
|
|
def register(self, **kwargs):
|
|
|
+ self.logger.info('register,come in, pool.size :%d', self.user_part_pool.qsize())
|
|
|
registry.BOT_AGENT_LIVES.set(self.user_part_pool.qsize())
|
|
|
user_part = self.user_part_pool.get()
|
|
|
acc = self.accounts.get(user_part)
|