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 extension download requests #23

Open
wants to merge 2 commits into
base: leapide-code-1.58.2
Choose a base branch
from

Conversation

randomir
Copy link
Member

Make sure extension install from gallery (marketplace) fails in finite time, if marketplace unavailable:

  • add vscode config option: extensionsGallery.requestTimeout (default: 60 seconds)
  • initial extension download requests timeout after 60 s (hard-coded)
  • all extension gallery requests that use extensionGalleryService, timeout after extensionsGallery.requestTimeout.

New vscode config option is `extensionsGallery.requestTimeout`, defaults
to 60 seconds.
@randomir randomir force-pushed the add-timeout-to-extension-download-requests branch from 2e898e2 to 555c575 Compare September 9, 2022 15:52
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.

1 participant