-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Rate Limit Exceeding #258
Comments
When you step execute the code what do you see? |
I know what the issue here is. Hint: the cache headers are sub-optimal. @kohsuke Would you consider updating the Okhttp dependency? |
Thanks for the detective work. |
You're welcome 👍 |
Hi @kohsuke,
I would appreciate your help on this.
I have used the
HttpConnector
and have specified a cache directory in my server. I am using OAuth and it looks like my quota is 5000 requests, based on this sample cache file:My client refreshes periodically to be in sync with the repo, however, even though there has been no change in the repo, I run out of API rate limit every now and then. I thought it should just be reading from the cache.
The following call gets executed on every refresh:
Further, there are other calls like
ghContent.read
-- is each of these a separate request to Git? Even so, I wouldn't think they would be called every time but just looked up from the cache.Any ideas?
The text was updated successfully, but these errors were encountered: