feat(restore): add --parallel-dbs=-1 auto-detection based on CPU/RAM
All checks were successful
CI/CD / Test (push) Successful in 1m16s
CI/CD / Lint (push) Successful in 1m25s
CI/CD / Build & Release (push) Successful in 3m14s

- Add CalculateOptimalParallel() function to preflight.go
- Calculates optimal workers: min(RAM/3GB, CPU cores), capped at 16
- Reduces parallelism by 50% if memory pressure >80%
- Add -1 flag value for auto-detection mode
- Preflight summary now shows CPU cores and recommended parallel
This commit is contained in:
2026-01-17 13:41:28 +01:00
parent c5be9bcd2b
commit 62d58c77af
3 changed files with 127 additions and 13 deletions

View File

@@ -4,8 +4,8 @@ This directory contains pre-compiled binaries for the DB Backup Tool across mult
## Build Information
- **Version**: 3.42.50
- **Build Time**: 2026-01-17_06:48:35_UTC
- **Git Commit**: dd1db84
- **Build Time**: 2026-01-17_12:25:20_UTC
- **Git Commit**: c5be9bc
## Recent Updates (v1.1.0)
- ✅ Fixed TUI progress display with line-by-line output