perf: 优化登录超时时间

This commit is contained in:
Soulter
2025-05-16 19:33:32 +08:00
parent 8da1b0212d
commit b50739e1af

View File

@@ -255,8 +255,8 @@ class WeChatPadProAdapter(Platform):
attempts = 0 # 初始化尝试次数 attempts = 0 # 初始化尝试次数
max_attempts = 6 # 最大尝试次数 max_attempts = 6 # 最大尝试次数
countdown = 30 # 倒计时时长 countdown = 180 # 倒计时时长
logger.info(f"请在 {countdown} 秒内扫码登录") logger.info(f"请在 {countdown} 秒内扫码登录")
while attempts < max_attempts: while attempts < max_attempts:
async with aiohttp.ClientSession() as session: async with aiohttp.ClientSession() as session:
try: try: