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

Get all ec2 response pages #94

Merged
merged 5 commits into from
Jan 7, 2019
Merged

Conversation

ProTip
Copy link
Contributor

@ProTip ProTip commented Jan 2, 2019

Pages through the AWS request to ensure all instances are fetched. The query workflow has been collapsed into a single method to simplify the paging, and is run in background thread via the executor service.

@ProTip
Copy link
Contributor Author

ProTip commented Jan 7, 2019

I have added a configuration option to set the max results per AWS request. Successfully smoked test this locally with the default and a page size of 5 and all nodes showing up.

@gschueler
Copy link
Member

Rundeck manages caching and loading the nodes in separate threads within an executor already. This plugin has a toggle for "asynch" loading, which is disabled by default now due to this new-ish behavior in Rundeck. So i'd suggest that if the asynch==false, it should avoid using another thread

@ProTip
Copy link
Contributor Author

ProTip commented Jan 7, 2019

@gschueler I believe the latest changes should address your feedback.

@gschueler gschueler merged commit f0311a0 into rundeck-plugins:master Jan 7, 2019
@gschueler
Copy link
Member

fixes this? #76

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