Fixed timeout issues
CI / Frontend build (push) Successful in 13s
CI / Backend tests (push) Successful in 17s
CI / Script syntax (push) Successful in 3s

This commit is contained in:
Codex
2026-07-21 20:34:12 +02:00
parent 7960809b30
commit 4a8da348d8
+5 -1
View File
@@ -119,7 +119,11 @@ def start_proxmox_backup(
"--output-format",
"json",
]
result = run(command, timeout=300)
# pvesh create for vzdump blocks and streams the task log until the backup
# finishes rather than returning a UPID immediately, so this must not have
# a fixed timeout: it can legitimately run as long as the guest's backup
# takes (a prior 300s timeout was killing real, in-progress vzdump jobs).
result = run(command, timeout=None)
upid = _extract_upid(result.stdout)
if not upid:
upid = _extract_upid(result.stderr)