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

Add timeout to initial connection request #1440

Merged

Conversation

isc-bsaviano
Copy link
Contributor

This PR adds a 5 second timeout to connection requests made during extension activation to avoid a very long hang during activation if a server takes a long time to respond. I also migrated from node-fetch to axios to bring this extension in line with our other two. This is still blocked by microsoft/vscode#227805.

@isc-bsaviano
Copy link
Contributor Author

@gjsjohnmurray @isc-rsingh Even though we can't take advantage of the timeout yet, I'd like to get this merged to pick up the migration to axios. I want to include this in a 2.12.9 release early next week.

Copy link
Contributor

@gjsjohnmurray gjsjohnmurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks OK to me and I did a cursory test of the VSIX.

@isc-bsaviano isc-bsaviano merged commit d7d48b6 into intersystems-community:master Oct 28, 2024
5 checks passed
@isc-bsaviano isc-bsaviano deleted the request-timeout branch October 28, 2024 14:01
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.

3 participants