You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occasionally when generating a large profile(like this one), GitHub will send a 403 in response. Currently, our API just ignores one and sends an empty list, but doesn't store it in the cache.
To fix this issue we will probably have to start to throttle how fast we are making queries for large profiles when we get a 403 we just wait for a second or two and try again. In their documentation we are allowed 5000 queries per hour.
We should also start logging how many queries we make to GitHub so that we can figure out if we are approaching the limit.
Ways to get more queries:
We could use the client to make some queries that we don't have on our behalf and send the responses back to the server for caching (we could then sample these queries to make sure they are valid). This would help supplement our cause because every potential user has 60 queries that they can make.
For larger more intensive graphs we decide to make in the future (stuff to do with user/repository events), we may have to have the user authenticate with our application so the requests are associated with their account.
The text was updated successfully, but these errors were encountered:
Occasionally when generating a large profile(like this one), GitHub will send a 403 in response. Currently, our API just ignores one and sends an empty list, but doesn't store it in the cache.
To fix this issue we will probably have to start to throttle how fast we are making queries for large profiles when we get a 403 we just wait for a second or two and try again. In their documentation we are allowed 5000 queries per hour.
We should also start logging how many queries we make to GitHub so that we can figure out if we are approaching the limit.
Ways to get more queries:
The text was updated successfully, but these errors were encountered: