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

Provide a knob to configure HTTP/2 keep-alive #632

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

slinkydeveloper
Copy link
Contributor

Enable them by default. Fix #624

@slinkydeveloper slinkydeveloper added this to the 1B milestone Jul 19, 2023
Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

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

Thanks for creating this PR @slinkydeveloper. The changes make sense. I had a question about how to unset the http2_keep_alive option. If this is resolved, then +1 for merging.

/// # HTTP/2 Keep alive options
///
/// Configuration for the HTTP/2 keep-alive mechanism, using PING frames.
/// If unset, HTTP/2 keep-alive are disabled.
Copy link
Contributor

Choose a reason for hiding this comment

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

How can the user unset this struct? Shouldn't this comment apply to the field in the Options struct? In the yaml would I specify http2_keep_alive: null? How would I unset this value via the env variables?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the yaml would I specify http2_keep_alive: null?

Yes

How would I unset this value via the env variables?

I guess it's this one #478 that we haven't solved yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Shouldn't this comment apply to the field in the Options struct?

Added the description to the field as well.

@slinkydeveloper slinkydeveloper merged commit e046032 into restatedev:main Jul 20, 2023
@slinkydeveloper slinkydeveloper deleted the issues/624 branch July 20, 2023 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow configuring HTTP/2 Keep alives
2 participants