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

Support http2 keep-alive #90

Merged
merged 4 commits into from
Oct 29, 2024
Merged

Support http2 keep-alive #90

merged 4 commits into from
Oct 29, 2024

Conversation

shsms
Copy link
Contributor

@shsms shsms commented Oct 22, 2024

No description provided.

@shsms shsms requested a review from a team as a code owner October 22, 2024 13:00
@github-actions github-actions bot added part:tests Affects the unit, integration and performance (benchmarks) tests part:code Affects the code in general labels Oct 22, 2024
@github-actions github-actions bot added the part:docs Affects the documentation label Oct 22, 2024
Marenz
Marenz previously approved these changes Oct 22, 2024
llucax
llucax previously requested changes Oct 24, 2024
src/frequenz/client/base/channel.py Outdated Show resolved Hide resolved
@shsms shsms dismissed stale reviews from llucax and Marenz October 24, 2024 14:34

Dismissing because the red colour is super unplesant.

@llucax
Copy link
Contributor

llucax commented Oct 25, 2024

Dismissing because the red colour is super unplesant.

🤣

I wish we used it more actually, I try not to use it because I agree if feels a bit aggressive, but it is very useful to indicate some comments really need to be addressed vs. just adding optional comments. In this case I just used it to avoid a merge at least until we discuss the comments as the PR was already approved, but didn't think of just dismissing the approval, that would have been another option 👍

@shsms shsms requested a review from llucax October 28, 2024 15:44
@shsms shsms added this to the v0.7.0 milestone Oct 28, 2024
@shsms shsms enabled auto-merge October 28, 2024 15:49
Copy link
Contributor

@llucax llucax left a comment

Choose a reason for hiding this comment

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

Only a couple of minor things: I think is important to mention keep-alive is enabled by default now in the release notes, but I'm OK with merging without making max_pings_without_data and keepalive_permit_without_calls for now, just curious about the reasons not to do it.

RELEASE_NOTES.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

I would also add a note to Upgrading that now keep-alive is enabled by the default options and that the default configuration should probably be tuned according to the client requirements.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

src/frequenz/client/base/channel.py Show resolved Hide resolved
src/frequenz/client/base/channel.py Outdated Show resolved Hide resolved
src/frequenz/client/base/channel.py Outdated Show resolved Hide resolved
src/frequenz/client/base/channel.py Outdated Show resolved Hide resolved
src/frequenz/client/base/channel.py Outdated Show resolved Hide resolved
src/frequenz/client/base/channel.py Outdated Show resolved Hide resolved
src/frequenz/client/base/channel.py Outdated Show resolved Hide resolved
src/frequenz/client/base/channel.py Outdated Show resolved Hide resolved
`defaults.ssl.enabled` is a bool, it will never be `None`.

Signed-off-by: Sahas Subramanian <[email protected]>
Signed-off-by: Sahas Subramanian <[email protected]>
Signed-off-by: Sahas Subramanian <[email protected]>
Co-authored-by: daniel-zullo-frequenz <[email protected]>
Signed-off-by: Sahas Subramanian <[email protected]>
RELEASE_NOTES.md Show resolved Hide resolved
@shsms shsms added this pull request to the merge queue Oct 29, 2024
@daniel-zullo-frequenz daniel-zullo-frequenz removed this pull request from the merge queue due to a manual request Oct 29, 2024
@daniel-zullo-frequenz
Copy link
Contributor

I remove it from the queue in case you want to check/fix a typo. And probably you also want to wait for Luca's approval

@shsms shsms added this pull request to the merge queue Oct 29, 2024
Merged via the queue into frequenz-floss:v0.x.x with commit 9864776 Oct 29, 2024
14 checks passed
@shsms shsms deleted the keep-alive branch October 29, 2024 10:59
@llucax llucax linked an issue Oct 30, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:code Affects the code in general part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow configuring keepalive and use a reasonable default value
4 participants