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

Switch to using Axios for requests #2958

Merged
merged 2 commits into from
Jun 29, 2024
Merged

Switch to using Axios for requests #2958

merged 2 commits into from
Jun 29, 2024

Conversation

joeyballentine
Copy link
Member

Closes #2957

IMO, the fact that the browser and nodejs implementations of fetch differ, and there is no way to natively specify timeout, is really stupid. So, I decided to just switch to using Axios instead of trying to use native fetch. Axios is able to work in both the browser and nodejs, and it defaults to having no timeout. So, we should expect this issue to never pop up again with this.

@joeyballentine
Copy link
Member Author

Merging this so it's fixed in the nightly

@joeyballentine joeyballentine merged commit afe35c3 into main Jun 29, 2024
7 checks passed
@joeyballentine joeyballentine deleted the use-axios branch June 29, 2024 16:58
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.

cli fetch timeout error, reversion of PR-1853
1 participant