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

[FSunstone] Make axios timeout configurable #6537

Closed
3 tasks done
vichansson opened this issue Mar 14, 2024 · 0 comments · Fixed by OpenNebula/docs#2889 or OpenNebula/docs#2907
Closed
3 tasks done

[FSunstone] Make axios timeout configurable #6537

vichansson opened this issue Mar 14, 2024 · 0 comments · Fixed by OpenNebula/docs#2889 or OpenNebula/docs#2907

Comments

@vichansson
Copy link
Contributor

vichansson commented Mar 14, 2024

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

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
@tinova tinova added this to the Release 7.0 milestone Mar 14, 2024
vichansson added a commit to OpenNebula/docs that referenced this issue Apr 11, 2024
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
@vichansson vichansson linked a pull request Apr 11, 2024 that will close this issue
2 tasks
tinova pushed a commit to OpenNebula/docs that referenced this issue Apr 11, 2024
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
vichansson added a commit to OpenNebula/docs that referenced this issue May 7, 2024
* Adds the `truncate_max_length` config option
* Adds the `api_timeout` config option

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
tinova pushed a commit to OpenNebula/docs that referenced this issue May 7, 2024
Also OpenNebula/one#6537

* Adds the `truncate_max_length` config option
* Adds the `api_timeout` config option

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment