fix: incorrect logging text in archiveSnapshotsWorker

This commit is contained in:
alikia2x (寒寒) 2025-04-14 00:26:59 +08:00
parent 7a7c5cada9
commit d0b7d93e5b
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6

View File

@ -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) {