Skip to content

Enforce retry limit on backup tasks#1172

Draft
mxsrc wants to merge 1 commit into
mainfrom
fix-sfam-2785
Draft

Enforce retry limit on backup tasks#1172
mxsrc wants to merge 1 commit into
mainfrom
fix-sfam-2785

Conversation

@mxsrc

@mxsrc mxsrc commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

if b.status in (Backup.STATUS_PENDING, Backup.STATUS_IN_PROGRESS):
_fail_backup(b, task, reason)
return
except KeyError:
# Merge did not finish; leave the old backup intact.
ob.status = Backup.STATUS_COMPLETED
ob.write_to_db()
except KeyError:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant