Open przemoc opened 1 year ago
This would be a great addition. I'd need to dig some more into the octokit
library code to better understand some things.
On the surface, however, after a quick research, it seems like I might have made a little implementation mistake at this location:
I think I could increase the retry count, and the RATE_LIMIT_EXCEEDED
variable may need to somehow be reset to false
once a request succeeds (because right now I seem to be doing an early-abort):
I'll probably get back on it eventually, but feel free to dig into it yourself and provide a PR if you want this feature to be implemented quickly. :)
Side-note: additionally, that retry should probably also display that timer slider animation.
I did run useful-forks on repo that has >5000 forks, and naturally got
GitHub API rate-limits exceeded
. It would be nice if there would be a way (button?) to resume scanning after waiting long enough to be no longer blocked on API calls. I tried editing access token to re-save it, but it did not resume activities.