diff --git a/src/index.ts b/src/index.ts index 5f66d76c9..5269982f9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -370,7 +370,9 @@ async function main() { }, snapshotConfig.interval * 1000); snapshotTimer.unref(); bootLog( - `Git snapshots: ${snapshotConfig.dir} (every ${snapshotConfig.interval}s)`, + snapshotIntervalMs > 0 + ? `Git snapshots: ${snapshotConfig.dir} (every ${snapshotConfig.interval}s)` + : `Git snapshots: ${snapshotConfig.dir} (periodic timer disabled, SNAPSHOT_INTERVAL=0 — manual trigger only)`, ); }