From b50739e1afd12d92fc9c936712a7cedc06ef88c4 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Fri, 16 May 2025 19:33:32 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/sources/wechatpadpro/wechatpadpro_adapter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py b/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py index 92fe58715..bfb19e7e8 100644 --- a/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py +++ b/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py @@ -255,8 +255,8 @@ class WeChatPadProAdapter(Platform): attempts = 0 # 初始化尝试次数 max_attempts = 6 # 最大尝试次数 - countdown = 30 # 倒计时时长 - logger.info(f"请在 {countdown} 秒内扫码登录!!!") + countdown = 180 # 倒计时时长 + logger.info(f"请在 {countdown} 秒内扫码登录。") while attempts < max_attempts: async with aiohttp.ClientSession() as session: try: