perf: 优化超时时间

This commit is contained in:
Soulter
2025-05-16 20:00:14 +08:00
parent b50739e1af
commit cb02dfe1a4

View File

@@ -254,7 +254,7 @@ class WeChatPadProAdapter(Platform):
params = {"key": self.auth_key}
attempts = 0 # 初始化尝试次数
max_attempts = 6 # 最大尝试次数
max_attempts = 36 # 最大尝试次数
countdown = 180 # 倒计时时长
logger.info(f"请在 {countdown} 秒内扫码登录。")
while attempts < max_attempts: