Extension generates lots of API calls against GitHub
See original GitHub issue👋 @KnisterPeter !
It looks like as if vscode-github v0.27.1 generates a lot of API calls against GitHub in certain cases. Here are the counted API calls from a single VSCode user working on a single repo over a single day on my GitHub Enterprise instance:
32328 /api/v3/repos/demo-org/demo-repo
9978 /api/v3/repos/demo-org/demo-repo/pulls/123
11174 /api/v3/repos/demo-org/demo-repo/pulls?state=open
That’s >55k requests per day. IOW more than 2 requests per second in a 8h work day 😃 ! While github.com can probably handle this load just fine, this might be a problem for GitHub Enterprise users.
Do you have an idea what could cause the excessive API usage in the extension?
/cc @terrorobe @b4mboo
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:12 (7 by maintainers)
Top Results From Across the Web
hub · an extension to command-line git
hub is an extension to command-line git that helps you do everyday GitHub tasks without ever leaving the terminal. Read the full documentation:...
Read more >Rest API - GitHub Docs
To create integrations, retrieve data, and automate your workflows, build with the GitHub REST API.
Read more >tanhakabir/rest-book - GitHub
GitHub - tanhakabir/rest-book: REST Book is a Visual Studio Code extension that allows you to perform REST calls in a Notebook interface.
Read more >About GitHub's APIs
Learn about GitHub's APIs to extend and customize your GitHub experience. About GitHub's APIs. GitHub provides two APIs: a REST API and a...
Read more >REST Client Extension for Visual Studio Code - GitHub
Generate code snippets for HTTP request in languages like Python , JavaScript and more! Remember Cookies for subsequent requests; Proxy support; Send SOAP ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Release is out. Please keep an eye on the request metrics the next days. Any report back is greatly appreciated.
No, even for bigger teams the repo data should be very stable. It contains the following information: