Subject: | Increase the items per page |
Gitpan sometimes has to list a lot of repositories, like 20,000+. At the default 30 items per query this is nearly 1000 queries. Github supports up to 100 per page. https://developer.github.com/v3/#pagination
It would be very useful if Net::GitHub would allow setting 'per_page'. I would even suggest defaulting it to 100 as in most cases one wants to do the least queries.
I'd do it myself, but I'm not sure where it fits in the API.
It would be very useful if Net::GitHub would allow setting 'per_page'. I would even suggest defaulting it to 100 as in most cases one wants to do the least queries.
I'd do it myself, but I'm not sure where it fits in the API.