diff --git a/apps/api/src/main.ts b/apps/api/src/main.ts index 6c1ae6b..d2fd188 100644 --- a/apps/api/src/main.ts +++ b/apps/api/src/main.ts @@ -47,7 +47,8 @@ async function waitWhileRestoreRuns(backupsDir: string): Promise { if (!status || status.state !== 'running') return; const ageMinutes = (Date.now() - new Date(status.startedAt).getTime()) / 60_000; if (!Number.isFinite(ageMinutes) || ageMinutes > RESTORE_STALE_MAX_AGE_MINUTES) return; - // eslint-disable-next-line no-console -- the pino logger does not exist yet + // The pino logger does not exist yet at this point in boot, so this one + // status line goes to the console directly (no-console is not enforced here). console.log(`restore of ${status.backupId} is running — waiting before touching the database`); await sleep(2000); }