Skip to content
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

Set max page size for tagging API requests. #617

Merged
merged 1 commit into from
Jul 11, 2022

Conversation

cristiangreco
Copy link
Collaborator

The tagging API allows specifying the number of resources per page to be
returned. Setting it to the max allowed value should reduce the number
of requests issued when fetching large fleets of resources.

Here we also change the iteration logic to stop at the last page.

The tagging API allows specifying the number of resources per page to be
returned. Setting it to the max allowed value should reduce the number
of requests issued when fetching large fleets of resources.

Here we also change the iteration logic to stop at the last page.
@thomaspeitz thomaspeitz merged commit 7b7d0e5 into master Jul 11, 2022
@thomaspeitz thomaspeitz deleted the cristian/tags-api-page-size branch July 11, 2022 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants