Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
iBUHub
/
AIStudioToAPI
Public
Notifications
You must be signed in to change notification settings
Fork
288
Star
1.7k
Code
Issues
31
Pull requests
9
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
fix: high concurrency issue with 503 context closure
- #166
#166
Merged
bbbugg
merged 15 commits into
main
iBUHub/AIStudioToAPI:main
from
fix/high-concurrency
iBUHub/AIStudioToAPI:fix/high-concurrency
Copy head branch name to clipboard
May 21, 2026
Conversation
Commits
15
(15)
Checks
Files changed
Merged
fix: high concurrency issue with 503 context closure
#166
bbbugg
merged 15 commits into
main
iBUHub/AIStudioToAPI:main
from
fix/high-concurrency
iBUHub/AIStudioToAPI:fix/high-concurrency
Copy head branch name to clipboard
Commits
Commits on May 12, 2026
fix:高并发下503窗口关闭问题
nekohy
authored and
bbbugg
committed
5bd0eaa
View commit details
Copy full SHA for 5bd0eaa
Browse repository at this point
chore: add context pool rebalance handling and prevent premature context closures
bbbugg
committed
f974286
View commit details
Copy full SHA for f974286
Browse repository at this point
fix: add system busy state handling to prevent context pool rebalance during high load
bbbugg
committed
f70af01
View commit details
Copy full SHA for f70af01
Browse repository at this point
fix: enhance request handling to support retries on closed accounts during high load
bbbugg
committed
87ef0ac
View commit details
Copy full SHA for 87ef0ac
Browse repository at this point
fix: prevent unnecessary emission of auth queues drained event during high load
bbbugg
committed
b1dc0ac
View commit details
Copy full SHA for b1dc0ac
Browse repository at this point
fix: update auth index tracking for request retries to handle registered queues correctly
bbbugg
committed
7937f19
View commit details
Copy full SHA for 7937f19
Browse repository at this point
fix: optimize connection retrieval logging to reduce unnecessary debug output
bbbugg
committed
48d082b
View commit details
Copy full SHA for 48d082b
Browse repository at this point
fix: refactor queue handling methods to improve clarity and reduce unnecessary parameters
bbbugg
committed
4b6d4df
View commit details
Copy full SHA for 4b6d4df
Browse repository at this point
fix: update context closure logic to correctly indicate pending closures for busy contexts
bbbugg
committed
0dede78
View commit details
Copy full SHA for 0dede78
Browse repository at this point
fix: refactor message queue handling and improve logging for connection retrieval
bbbugg
committed
7fc9c70
View commit details
Copy full SHA for 7fc9c70
Browse repository at this point
fix: correct indentation for emitting auth queues drained notification
bbbugg
committed
dd0bfbd
View commit details
Copy full SHA for dd0bfbd
Browse repository at this point
fix: add pre-cleanup step before switching browser context for recovery
bbbugg
committed
ba274fe
View commit details
Copy full SHA for ba274fe
Browse repository at this point
fix: add check for WebSocket connection readiness before retrying
bbbugg
committed
9a35f21
View commit details
Copy full SHA for 9a35f21
Browse repository at this point
fix: remove unnecessary check for system busy state in connection wait logic
bbbugg
committed
60c5217
View commit details
Copy full SHA for 60c5217
Browse repository at this point
fix: update system busy state handling in RequestHandler and StatusRoutes
bbbugg
committed
cfa966e
View commit details
Copy full SHA for cfa966e
Browse repository at this point
You can’t perform that action at this time.