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
fix: cap concurrent GitHub Search page fetches to avoid secondary rate limit
GitHub recommends against firing concurrent requests for a single user
token, since Search has a low secondary rate limit. The previous
implementation fired up to 9 pages via a single Promise.all, risking a
secondary-rate-limit block. Batch remaining pages through a bounded
pool of 3 concurrent requests instead, keeping the timeout mitigation
while staying within GitHub's guidance. Rate-limited pages continue to
contribute no items, falling back to whatever partial results were
already fetched, as intended.
0 commit comments