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

EngineBuilder API: addDnsQueryTimeoutSeconds #1583

Merged
merged 10 commits into from Jul 27, 2021
Merged

EngineBuilder API: addDnsQueryTimeoutSeconds #1583

merged 10 commits into from Jul 27, 2021

Conversation

junr03
Copy link
Member

@junr03 junr03 commented Jul 9, 2021

Description: API for addDnsQueryTimeoutSeconds to configure behavior introduced in #1580
Risk Level: low - optional builder API
Testing: updated suite.
Docs Changes: added

Signed-off-by: Jose Nino jnino@lyft.com

Jose Nino added 2 commits July 9, 2021 16:41
Signed-off-by: Jose Nino <jnino@lyft.com>
fmt
Signed-off-by: Jose Nino <jnino@lyft.com>
@junr03 junr03 mentioned this pull request Jul 9, 2021
Signed-off-by: Jose Nino <jnino@lyft.com>
@@ -19,6 +19,7 @@ fixture_template:

private struct TestFilter: Filter {}

// swiftlint:disable:next type_body_length
Copy link
Member Author

Choose a reason for hiding this comment

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

not sure if this is the kosher way of doing this @rebello95

Copy link
Contributor

Choose a reason for hiding this comment

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

this is fine, or honestly we could just remove this rule from .swiftlint.yml

Copy link
Contributor

Choose a reason for hiding this comment

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

the "fix" would be to split this file up

Jose Nino added 5 commits July 21, 2021 16:19
Signed-off-by: Jose Nino <jnino@lyft.com>
fix
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
fix
Signed-off-by: Jose Nino <jnino@lyft.com>
@junr03
Copy link
Member Author

junr03 commented Jul 23, 2021

@rebello95 @buildbreaker ready for review

@junr03 junr03 requested a review from buildbreaker July 23, 2021 00:32
rebello95
rebello95 previously approved these changes Jul 23, 2021
@@ -38,6 +39,7 @@
* @param dnsRefreshSeconds rate in seconds to refresh DNS.
* @param dnsFailureRefreshSecondsBase base rate in seconds to refresh DNS on failure.
* @param dnsFailureRefreshSecondsMax max rate in seconds to refresh DNS on failure.
* @param dnsQueryTimeoutSeconds rate in seconds to timeout DNS queries.
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: indentation

Jose Nino added 2 commits July 26, 2021 11:25
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
@junr03
Copy link
Member Author

junr03 commented Jul 26, 2021

@buildbreaker can I get a review to re-approve @rebello95's dismissed review?

Copy link

@buildbreaker buildbreaker left a comment

Choose a reason for hiding this comment

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

I've never been a fan of file length linters (we do this at Lyft's iOS code base actually)

Maybe we can add a task to remove that lint check?

Reference comment: https://github.com/envoyproxy/envoy-mobile/pull/1583/files#r667261030

@junr03 junr03 merged commit d6373da into main Jul 27, 2021
@junr03 junr03 deleted the query-timeout branch July 27, 2021 17:12
Augustyniak pushed a commit to Augustyniak/envoy-mobile that referenced this pull request Aug 2, 2021
Description: API for addDnsQueryTimeoutSeconds to configure behavior introduced in envoyproxy#1580
Risk Level: low - optional builder API
Testing: updated suite.
Docs Changes: added

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.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.

None yet

3 participants