From d0b7d93e5b843f49c3fb59cbc30c916dc4b158f6 Mon Sep 17 00:00:00 2001 From: alikia2x Date: Mon, 14 Apr 2025 00:26:59 +0800 Subject: [PATCH] fix: incorrect logging text in archiveSnapshotsWorker --- packages/crawler/mq/exec/snapshotTick.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/crawler/mq/exec/snapshotTick.ts b/packages/crawler/mq/exec/snapshotTick.ts index 9855b1a..8fbc50f 100644 --- a/packages/crawler/mq/exec/snapshotTick.ts +++ b/packages/crawler/mq/exec/snapshotTick.ts @@ -159,7 +159,7 @@ export const archiveSnapshotsWorker = async (_job: Job) => { const now = Date.now(); const lastSnapshotedAt = latestSnapshot?.time ?? now; const interval = 168; - logger.log(`Scheduled regular snapshot for aid ${aid} in ${interval} hours.`, "mq"); + logger.log(`Scheduled archive snapshot for aid ${aid} in ${interval} hours.`, "mq"); const targetTime = lastSnapshotedAt + interval * HOUR; await scheduleSnapshot(client, aid, "archive", targetTime); if (now - startedAt > 250 * MINUTE) {