perf: 优化登录超时时间
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user