-
Notifications
You must be signed in to change notification settings - Fork 23
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
Hard Limit on # of Repos: 50 #108
Comments
Hey man, thanks for raising the issue! Unfortunately this is due to a hard limitation in the Github API. They only allow a maximum of 500,000 nodes (bits of data) to be returned by each request. The more repos you select to monitor, the higher the risk you hit this limit, especially if the repos have a lot of PRs. There isn't really a solution I'm afraid, their API is free to use but it does come with limitations like this 😢. I tried to minimise the amount of data being requested for each repo/PR to try to avoid this as much as possible, but is has to be balanced with getting enough data to give a rich enough experience in the app. |
Thanks for the reply! In that case is there any way to split the data to allow for multiple API calls? |
Sorry for delay in response! 😅 ... In addition to the node limit, you're also subject to a rate limit as well. So splitting into multiple API calls would likely mean that you'd start to fall foul of that instead 😢 . Might be possible to make some of the limits I put in place configurable to the user, so that you could tweak things based on your use case. E.g. by limiting the number of PRs you can display per repo, you may be able to show more repos in total. Would definitely be "advanced" settings. |
Your Version of Pullp
3.0.0
Your OS
MacOS 10.14.6
Expected Behavior
Either a mechanism preventing more than 49 repos to be selected if not possible or a fix to allow more than 49 repositories to be monitored
Current Behavior
Fails after 49 repos are selected

Steps to Reproduce (for bugs)
Console Errors
The text was updated successfully, but these errors were encountered: