From 6aa6eac21d314e249c8640920757c71a1e04a415 Mon Sep 17 00:00:00 2001 From: sunlei Date: Mon, 29 Jun 2026 08:39:54 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E4=BF=AE=E5=A4=8DNapCat=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=9E=B6=E6=9E=84=E9=97=A8=E7=A6=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../napcat/application/login/qqbot-napcat-login.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/qqbot/napcat/application/login/qqbot-napcat-login.service.ts b/src/modules/qqbot/napcat/application/login/qqbot-napcat-login.service.ts index c0893e5..cbdff2c 100644 --- a/src/modules/qqbot/napcat/application/login/qqbot-napcat-login.service.ts +++ b/src/modules/qqbot/napcat/application/login/qqbot-napcat-login.service.ts @@ -2925,7 +2925,7 @@ export class QqbotNapcatLoginService { /** * Decides whether this refresh session may spend its single same-container worker restart budget. - * @param session - Login refresh session; its source-container flag proves Docker is already alive and the attempt flag prevents restart storms. + * @param session - Login refresh session; its source-runtime flag proves the managed runtime is already alive and the attempt flag prevents restart storms. * @returns True only before the first NapCat worker restart attempt in this online-source refresh session. */ private shouldRestartNapcatWorkerForOnlineRefresh( @@ -2939,9 +2939,9 @@ export class QqbotNapcatLoginService { } /** - * Restarts only the NapCat worker when the Docker container is alive but QQCore login service is stale. + * Restarts only the NapCat worker when the managed runtime is alive but QQCore login service is stale. * @param session - Refresh login session that owns progress messages and retry timestamps. - * @param container - Current online Docker/WebUI runtime; its device identity and environment must be preserved. + * @param container - Current online WebUI runtime; its device identity and environment must be preserved. * @param reason - Latest QQ login-state evidence shown to Admin before the worker restart. * @returns Fresh WebUI login status after the worker restart completes. */