Skip to content

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

Merged
rebello95 merged 5 commits intomasterfrom
dns-refresh
Mar 2, 2020
Merged

dns: add ability to set dns failure refresh rate#714
rebello95 merged 5 commits intomasterfrom
dns-refresh

Conversation

@junr03
Copy link
Copy Markdown
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 <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
fmt
Signed-off-by: Jose Nino <jnino@lyft.com>
@@ -5,22 +5,29 @@ public class EnvoyConfiguration {
public final String statsDomain;
public final Integer connectTimeoutSeconds;
public final Integer dnsRefreshSeconds;
Copy link
Copy Markdown
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
Copy Markdown
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 <jnino@lyft.com>
rebello95
rebello95 previously approved these changes Mar 2, 2020
Copy link
Copy Markdown
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 <me@michaelrebello.com>
@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 <me@michaelrebello.com>
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