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 a setPerTryIdleTimeoutSeconds method to EngineBuilder. #2601

Merged
merged 3 commits into from
Oct 11, 2022

Conversation

RyanTheOptimist
Copy link
Contributor

@RyanTheOptimist RyanTheOptimist commented Oct 10, 2022

Add a setPerTryIdleTimeoutSeconds method to EngineBuilder.
Add tests for setPerTryIdleTimeoutSeconds and setStreamIdleTimeoutSeconds.
Minor cleanup of envoy_config_test.cc.

Part of #2498

Risk Level: Low
Testing: Added unit tests
Docs Changes: N/A
Release Notes: Updated version_history.txt

Add tests for setPerTryIdleTimeoutSeconds and setStreamIdleTimeoutSeconds.
Minor cleanup of envoy_config_test.cc.

Signed-off-by: Ryan Hamilton <[email protected]>
@RyanTheOptimist
Copy link
Contributor Author

/assign @Augustyniak

Copy link
Contributor

@Augustyniak Augustyniak left a comment

Choose a reason for hiding this comment

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

Looks good! Can we update version_history file?

@@ -38,6 +38,7 @@ class EngineBuilder {
EngineBuilder& setAppId(const std::string& app_id);
EngineBuilder& setDeviceOs(const std::string& app_id);
EngineBuilder& setStreamIdleTimeoutSeconds(int stream_idle_timeout_seconds);
EngineBuilder& setPerTryIdleTimeoutSeconds(int per_try_idle_timeout_seconds);
Copy link
Contributor

Choose a reason for hiding this comment

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

our Kotlin and Swift engines use add... naming but the c++ seems to prefer set... one... I guess it's fine to keep using set in here (which I personally prefer)

@RyanTheOptimist
Copy link
Contributor Author

Looks good! Can we update version_history file?

Whoops! Done.

Copy link
Contributor

@Augustyniak Augustyniak left a comment

Choose a reason for hiding this comment

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

Looks good! Can we update version_history file?

Whoops! Done.

Hopefully @jpsim did not notice

@RyanTheOptimist RyanTheOptimist merged commit 394e7f1 into envoyproxy:main Oct 11, 2022
jpsim added a commit that referenced this pull request Oct 11, 2022
* origin/main:
  Update Envoy (#2598)
  Add a setPerTryIdleTimeoutSeconds method to EngineBuilder. (#2601)

Signed-off-by: JP Simard <[email protected]>
colibie pushed a commit to colibie/envoy-mobile that referenced this pull request Oct 22, 2022
…y#2601)

Add a setPerTryIdleTimeoutSeconds method to EngineBuilder.
Add tests for setPerTryIdleTimeoutSeconds and setStreamIdleTimeoutSeconds.
Minor cleanup of envoy_config_test.cc.

Part of envoyproxy#2498

Risk Level: Low
Testing: Added unit tests
Docs Changes: N/A
Release Notes: Updated version_history.txt

Signed-off-by: Ryan Hamilton <[email protected]>
Signed-off-by: Chidera Olibie <[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.

2 participants