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

fix(manager): specify a higher per_page for DigitalOcean API call #1113

Merged
merged 3 commits into from
Oct 5, 2022

Conversation

cgarvey
Copy link
Contributor

@cgarvey cgarvey commented Jun 21, 2022

Default (if not specified) is 20. Increase to 100 (tested).

Fixes #999.

@cgarvey cgarvey requested a review from a team as a code owner June 21, 2022 09:12
Copy link
Collaborator

@fortuna fortuna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

src/server_manager/cloud/digitalocean_api.ts Show resolved Hide resolved
src/server_manager/cloud/digitalocean_api.ts Show resolved Hide resolved
…ets' DO API call to use 100 as well. 100 is the tested limit, and a sane default until proper pagination
@cgarvey
Copy link
Contributor Author

cgarvey commented Jun 30, 2022

Thanks for the fix!

Hi @fortuna, I've reviewed recommendations and actioned. Let me know if that's enough for now, and to leave pagination support as iteration. Thanks

@fortuna
Copy link
Collaborator

fortuna commented Aug 24, 2022

For some reason the status seems to be stuck...

@fortuna
Copy link
Collaborator

fortuna commented Aug 24, 2022

@cgarvey you may need to pull master to trigger the tests again.

@cgarvey
Copy link
Contributor Author

cgarvey commented Oct 4, 2022

@cgarvey you may need to pull master to trigger the tests again.

Done, sorry I missed the comment. Latest master merged in now. Let me know if there's anything else I can do to help

@fortuna fortuna changed the title Fixes #999. Specify a higher per_page for DigitalOcean API call fix(manager): specify a higher per_page for DigitalOcean API call Oct 5, 2022
@fortuna fortuna merged commit 75c3581 into Jigsaw-Code:master Oct 5, 2022
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.

[bug] outline manager list only 20 droplet from digital ocean
2 participants