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

dns: add ability to set dns failure refresh rate #714

Merged
merged 5 commits into from
Mar 2, 2020
Merged

Conversation

junr03
Copy link
Member

@junr03 junr03 commented Feb 29, 2020

Description: updates envoy ref to include envoyproxy/envoy#10137. Exposes client builder function to add dns failure refresh rate.
Risk Level: low, new configuration option
Testing: local apps, CI
Docs Changes: created #715 to create a section in the docs for all the builder options.

Fixes #673

Jose Nino added 2 commits February 29, 2020 10:54
wip
Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Jose Nino <[email protected]>
fmt
Signed-off-by: Jose Nino <[email protected]>
@@ -5,22 +5,29 @@
public final String statsDomain;
public final Integer connectTimeoutSeconds;
public final Integer dnsRefreshSeconds;
Copy link
Member Author

Choose a reason for hiding this comment

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

I considered putting all of the dns settings into a struct (same on iOS), but ultimately decided to keep this flat for this change.

I think if this lists keeps growing we need to first think about how we are going to manage config as it gets more unruly. But for now keeping it flat seemed the least intrusive change.

Copy link
Contributor

Choose a reason for hiding this comment

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

sounds good

Signed-off-by: Jose Nino <[email protected]>
rebello95
rebello95 previously approved these changes Mar 2, 2020
Copy link
Contributor

@rebello95 rebello95 left a comment

Choose a reason for hiding this comment

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

LGTM with minor comments (I can update since you're OOO)

Signed-off-by: Michael Rebello <[email protected]>
@rebello95 rebello95 merged commit 824ba9d into master Mar 2, 2020
@rebello95 rebello95 deleted the dns-refresh branch March 2, 2020 18:12
rebello95 pushed a commit that referenced this pull request Mar 3, 2020
Description: updates envoy ref to include envoyproxy/envoy#10137. Exposes client builder function to add dns failure refresh rate.
Risk Level: low, new configuration option
Testing: local apps, CI
Docs Changes: created #715 to create a section in the docs for all the builder options.

Fixes #673 
Signed-off-by: Michael Rebello <[email protected]>
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.

dns: faster recovery after no connectivity
2 participants