You've already forked AstralRinth
forked from didirus/AstralRinth
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:
committed by
GitHub
parent
2e9730ea1f
commit
7eb1b38cc7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user