Skip to content

Conversation

@hubidu
Copy link

@hubidu hubidu commented Jan 15, 2024

What?

Since RestClient does not set the axios default timeout, requests may potentially "hang" indefinitely or until the backend terminates the connection.
Specifying the timeout parameter in RestClientConfig helps to control client behaviour and make it more predictable.

For further justification see also https://geshan.com.np/blog/2022/11/axios-timeout/

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.

2 participants