-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
new contributor friendlytype: featureFor backward-compatible new feature that will result in a minor version incrementFor backward-compatible new feature that will result in a minor version increment
Description
Description
The Github.ListStargazers
tool paginates through stargazers in quantities of 100. The current algorithm for paginating allows for the number of stargazers to temporarily exceed the limit
input parameter before returning the list. Improving this tool to never exceed the limit will help with performance.
Implementation Strategy
In this file, we could keep track of the remaining number of stargazers to get. We could then set the per_page
param to be the min(per_page, remaining)
.
Use Case
Reduces data transmitted over the wire.
Metadata
Metadata
Assignees
Labels
new contributor friendlytype: featureFor backward-compatible new feature that will result in a minor version incrementFor backward-compatible new feature that will result in a minor version increment