fix: limit pre-update state snapshots

This commit is contained in:
Aditya Rajesh Gadgil
2026-05-28 02:45:25 -07:00
committed by Teknium
parent 8b6beaab5f
commit 031983bbf8
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -9033,7 +9033,7 @@ def _cmd_update_impl(args, gateway_mode: bool):
try:
from hermes_cli.backup import create_quick_snapshot
snap_id = create_quick_snapshot(label="pre-update")
snap_id = create_quick_snapshot(label="pre-update", keep=1)
if snap_id:
print(f" ✓ Pre-update snapshot: {snap_id}")
except Exception as exc: