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

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.
This commit is contained in:
Julien Fontanet
2023-11-06 10:30:34 +01:00
committed by GitHub
parent 457fec0bc8
commit c9dbcf1384
2 changed files with 44 additions and 30 deletions
+2
View File
@@ -13,6 +13,7 @@
- [Netbox] Fix VMs' `site` property being unnecessarily updated on some versions of Netbox (PR [#7145](https://github.com/vatesfr/xen-orchestra/pull/7145))
- [Netbox] Fix "400 Bad Request" error (PR [#7153](https://github.com/vatesfr/xen-orchestra/pull/7153))
- [Backup/Restore] Fix timeout after 5 minutes [#7052](https://github.com/vatesfr/xen-orchestra/issues/7052)
### Packages to release
@@ -30,6 +31,7 @@
<!--packages-start-->
- @xen-orchestra/proxy patch
- xo-server-netbox patch
<!--packages-end-->