mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-27 00:11:23 +00:00
Fixed rate handling limit handling
Issue #220. If RateLimitHandler returns normally, it should retry.
This commit is contained in:
@@ -501,6 +501,7 @@ class Requester {
|
||||
|
||||
if ("0".equals(uc.getHeaderField("X-RateLimit-Remaining"))) {
|
||||
root.rateLimitHandler.onError(e,uc);
|
||||
return;
|
||||
}
|
||||
|
||||
InputStream es = wrapStream(uc.getErrorStream());
|
||||
|
||||
Reference in New Issue
Block a user