Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(proxy/backup.importVmBackup): only dispose resources at the end #7152

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

julien-f
Copy link
Member

@julien-f julien-f commented Nov 2, 2023

DO NOT SQUASH, review by commits.

Description

Fixes #7052

Fixes zammad#17383

When a stream is returned, the handler immediately returned a stream which disposed the resource.

Due to the disposable having a 5 mins debounce delay, the problem was only apparent after 5 mins.

Checklist

  • Commit
    • Title follows commit conventions
    • Reference the relevant issue (Fixes #007, See xoa-support#42, See https://...)
    • If bug fix, add Introduced by
  • Changelog
    • If visible by XOA users, add changelog entry
    • Update "Packages to release" in CHANGELOG.unreleased.md
  • PR
    • If UI changes, add screenshots
    • If not finished or not tested, open as Draft

@julien-f julien-f requested a review from MathieuRA November 2, 2023 22:31
@MathieuRA MathieuRA requested a review from fbeauchamp November 6, 2023 09:11
Fixes #7052

Fixes zammad#17383

When a stream is returned, the handler immediately returned a stream which disposed the resource.

Due to the disposable having a 5 mins debounce delay, the problem was only apparent after 5 mins.
@julien-f julien-f merged commit c9dbcf1 into master Nov 6, 2023
@julien-f julien-f deleted the fix-proxy-restore branch November 6, 2023 09:30
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.

Restoring backups via XO proxy does not work if it takes longer than 5 minutes
3 participants