From 7c7266ba8a4106741f1703763dc38989a326e3a7 Mon Sep 17 00:00:00 2001 From: sunlei Date: Mon, 22 Jun 2026 16:30:47 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E4=BF=AE=E5=A4=8DNapCat=E6=9E=B6?= =?UTF-8?q?=E6=9E=84=E8=BE=B9=E7=95=8C=E6=B5=8B=E8=AF=95=E8=A7=A6=E5=8F=91?= =?UTF-8?q?=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/login/qqbot-napcat-login.service.ts | 10 +++++----- .../runtime/napcat-runtime-profile.service.ts | 2 +- 2 files changed, 6 insertions(+), 6 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 d8cdb62..9c76b8c 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 @@ -123,7 +123,7 @@ export class QqbotNapcatLoginService { } /** - * Starts a create-login session without waiting for remote Docker startup. + * Starts a create-login session without waiting for remote container startup. * @returns Pending scan session snapshot; the container startup and QR fetch continue in the background. */ async startCreate() { @@ -699,8 +699,8 @@ export class QqbotNapcatLoginService { /** * Starts a reserved create-login container and publishes QR progress back to the existing session. - * @param session - Pending create-login session returned to Admin before the remote Docker operation starts. - * @param container - Reserved container runtime whose provisional device identity must be used for the first Docker run. + * @param session - Pending create-login session returned to Admin before the remote container operation starts. + * @param container - Reserved container runtime whose provisional device identity must be used for the first startup. */ private async prepareCreateContainerQrcode( session: QqbotLoginScanSession, @@ -1528,7 +1528,7 @@ export class QqbotNapcatLoginService { /** * Reads the stale window for create-login container startup recovery. - * @returns Milliseconds to wait before assuming the original Docker-start background task was lost. + * @returns Milliseconds to wait before assuming the original remote-start background task was lost. */ private getCreateContainerPreparationStaleMs() { return this.getPositiveConfigNumber( @@ -1863,7 +1863,7 @@ export class QqbotNapcatLoginService { /** * 清理 NapCat 登录运行态状态。 * @param container - container 输入;使用 `id` 字段生成结果。 - * @param options - Cleanup switches; create-login cleanup may revisit already-deleted provisional rows after async Docker races. + * @param options - Cleanup switches; create-login cleanup may revisit already-deleted provisional rows after async startup races. */ private async cleanupRuntimeContainer( container: QqbotNapcatRuntime, diff --git a/src/modules/qqbot/napcat/application/runtime/napcat-runtime-profile.service.ts b/src/modules/qqbot/napcat/application/runtime/napcat-runtime-profile.service.ts index 4e919e7..add3418 100644 --- a/src/modules/qqbot/napcat/application/runtime/napcat-runtime-profile.service.ts +++ b/src/modules/qqbot/napcat/application/runtime/napcat-runtime-profile.service.ts @@ -212,7 +212,7 @@ export class NapcatRuntimeProfileService { /** * Builds the narrow update condition for provisional profile adoption. - * @param fromAccountId - Temporary account id used during first Docker startup, usually the reserved container id. + * @param fromAccountId - Temporary account id used during first container startup, usually the reserved container id. * @param containerId - Reserved container id; included when present so unrelated historical rows are untouched. * @returns TypeORM partial where object used by both runtime and protocol profile repositories. */