Skip to content

[Feature] Improve Github.ListStargazers Pagination #135

@EricGustin

Description

@EricGustin

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

No one assigned

    Labels

    new contributor friendlytype: featureFor backward-compatible new feature that will result in a minor version increment

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions