fix(xo-server): disable broken requestTimeout

Fixes https://xcp-ng.org/forum/post/58146

Caused by nodejs/node#46574

It caused requests to timeout after 0-30 seconds, which broke all uploads.
This commit is contained in:
Julien Fontanet 2023-02-09 10:25:45 +01:00
parent 817911a41e
commit a3e37eca62
2 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,7 @@
- [Continuous Replication] Fix `VDI_IO_ERROR` when after a VDI has been resized
- [REST API] Fix VDI import
- Fix failing imports (REST API and web UI) [Forum#58146](https://xcp-ng.org/forum/post/58146)
### Packages to release

View File

@ -132,7 +132,10 @@ port = 80
#
# This breaks a number of XO use cases, for instance uploading a VDI via the
# REST API, therefore it's changed to 1 day.
requestTimeout = 86400000
#
# Completely disabled for now because it appears to be broken:
# https://github.com/nodejs/node/issues/46574
requestTimeout = 0
[http.mounts]
'/' = '../xo-web/dist'