fix: reduce USB backup retention from 30 to 15 files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Gitead
2026-05-04 21:36:43 -04:00
parent 79e20b693d
commit 70ffd8398b

View File

@@ -11,7 +11,7 @@ const LOCAL_BACKUP_DIR = path.resolve(process.cwd(), "backups");
// Name of the USB backup subfolder the user creates on their drive // Name of the USB backup subfolder the user creates on their drive
const USB_BACKUP_FOLDER_NAME = "USB Backup"; const USB_BACKUP_FOLDER_NAME = "USB Backup";
const MAX_BACKUPS = 30; const MAX_BACKUPS = 15;
function ensureLocalBackupDir() { function ensureLocalBackupDir() {
if (!fs.existsSync(LOCAL_BACKUP_DIR)) { if (!fs.existsSync(LOCAL_BACKUP_DIR)) {