You've already forked AstralRinth
forked from didirus/AstralRinth
Revert "Use backup physical_id for progress updates matching" (#5060)
* Revert "Use backup physical_id for progress updates matching" This reverts commit de2f6275b97376fb92497399eba848ae1ace7b01. * Fix page crash on backups page reload
This commit is contained in:
committed by
GitHub
parent
3fd6ce1b6d
commit
14d227a1a3
@@ -790,7 +790,7 @@ const handleBackupProgress = (data: Archon.Websocket.v0.WSBackupProgressEvent) =
|
||||
'list',
|
||||
serverId,
|
||||
])
|
||||
const backup = backupData?.find((b) => (b.physical_id ?? b.id) === backupId)
|
||||
const backup = backupData?.find((b) => 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