Support updated servers backup route schema, remove backup locking (#5053)

* Use backup physical_id for progress updates matching

* Remove locking

* Fmt
This commit is contained in:
François-Xavier Talbot
2026-01-05 20:03:46 -05:00
committed by GitHub
parent 2e9730ea1f
commit 7eb1b38cc7
8 changed files with 22 additions and 136 deletions

View File

@@ -790,7 +790,7 @@ const handleBackupProgress = (data: Archon.Websocket.v0.WSBackupProgressEvent) =
'list',
serverId,
])
const backup = backupData?.find((b) => b.id === backupId)
const backup = backupData?.find((b) => (b.physical_id ?? b.id) === backupId)
if (backup?.ongoing && attempt < 3) {
// retry 3 times max, archon is slow compared to ws state