OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.19k stars 472 forks source link

[FSunstone] Make axios timeout configurable #6537

Closed vichansson closed 2 months ago

vichansson commented 3 months ago

Description The current request timeout is set to a static 45 seconds max for all requests. This presents a problem in certain situations where the request may take longer than this due to say, limited network conditions when downloading/uploading an image.

Use case Control the timeout length for all requests in FireEdge.

Interface Changes No interface changes necessary.

Additional Context Should create a new configurable value like MAX_HTTP_REQUEST_TIMEOUT in the fireedge-config. And then fetch this value on start and attempt setting it as the timeout, and in case of failure, fall back to the default of 45 seconds.

Progress Status