Closed scottwn closed 2 years ago
This should be resolved with merging of #109 , right? If so, please close this PR. :)
I think this PR still has some worthwhile improvements:
minimumAbuseRetryAfter
instead of sleep
, it allows octokit to handle the retryAfter
header if it's returned by the GitHub API. #28 was caused by that header not being returned in certain cases, which is why we need to add the extra delay. But in cases where the header is returned, we don't want to add more sleep
on top of that.@scottwn I'd like to merge it. Could you resolve the conflicts for that?
Alternate approach to #109, using
plugin-throttling
minimumAbuseRetryAfter
instead ofsleep
.I used this discussion to guide this solution.
Fixes #28