-
Notifications
You must be signed in to change notification settings - Fork 38
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
fix: don't deadlock on 10+ concurrent requests needing auth #779
Conversation
Can you update the PR with octokit/auth-app.js#689 |
give auth requests a dedicated queue, so that they don't cause a deadlock when too many requests are queued
22fd013
to
16d260b
Compare
Done! I only updated the dev dependency and the test, since it can still work with older versions (just suboptimally). Let me know if we should tweak peerDependencies/etc too |
🎉 This PR is included in version 9.6.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Great work on adding custom throttling for auth requests 🚀 |
To pick up this fix octokit/plugin-throttling.js#779
Fixes #754
Fixes octokit/octokit.js#2800
Give auth requests a dedicated queue. This ensures that they don't cause a deadlock when 10+ concurrent requests are made that need authentication (i.e. either we've never authed, or the token has expired).