neighbor icon indicating copy to clipboard operation
neighbor copied to clipboard

builtin/search/github: transparently rate limiting requests

Open mccurdyc opened this issue 6 years ago • 0 comments

What would you like to be added: Right now, the number of desired results is static at 10. However, if a user requested something like 1000 projects, it would most likely hit GitHub's API for 1000 projects at once and exceed per-minute rate limits (30/min)and neighbor would exit. Instead, neighbor should build this in to the GitHub search package.

Why is this needed: Neighbor will always exit before successfully evaluating all projects for a larger number of desired results.

Definition of done

When the GitHub search package can successfully obtain larger number of projects without exiting.

Links to documentation or design (if any) https://developer.github.com/v3/search/#rate-limit

mccurdyc avatar Jan 13 '20 11:01 mccurdyc