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

Add an interface for AwsAsgUtil #1108

Merged
merged 2 commits into from
Aug 6, 2018

Conversation

troshko111
Copy link
Contributor

  • Provide a replaceable abstraction over AWS ASG polling logic
  • Add a setting to disable AWS ASG polling

- Provide a replaceable abstraction over AWS ASG polling logic
- Add a setting to disable AWS ASG polling
@@ -371,6 +371,11 @@ private TimerTask getASGUpdateTask() {
@Override
public void run() {
try {
if (!serverConfig.shouldUseAwsAsgApi()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

You'll also need to handle the async refresh on line 70.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Resolved

- Disable querying AWS ASGs when using the public API to lookup
an expired/never cached instance
@qiangdavidliu qiangdavidliu merged commit f660f78 into Netflix:master Aug 6, 2018
@troshko111 troshko111 deleted the pts/aws-asg-interface branch August 6, 2018 21:07
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