mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-10 05:00:59 +00:00
添加日志输出
This commit is contained in:
@@ -64,8 +64,10 @@ class QQBotManager:
|
|||||||
def __init__(self, mirai_http_api_config: dict, timeout: int = 60, retry: int = 3, pool_num: int = 10, first_time_init=True):
|
def __init__(self, mirai_http_api_config: dict, timeout: int = 60, retry: int = 3, pool_num: int = 10, first_time_init=True):
|
||||||
self.timeout = timeout
|
self.timeout = timeout
|
||||||
self.retry = retry
|
self.retry = retry
|
||||||
|
logging.info("Register thread pool Size:{}".format(pool_num))
|
||||||
self.pool_num = pool_num
|
self.pool_num = pool_num
|
||||||
self.pool = ThreadPoolExecutor(max_workers=self.pool_num)
|
self.pool = ThreadPoolExecutor(max_workers=self.pool_num)
|
||||||
|
logging.info('done')
|
||||||
|
|
||||||
# 加载禁用列表
|
# 加载禁用列表
|
||||||
if os.path.exists("banlist.py"):
|
if os.path.exists("banlist.py"):
|
||||||
|
|||||||
Reference in New Issue
Block a user