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

feat(request-response): deprecate Config::set_connection_keep_alive #4029

Merged
merged 16 commits into from
Oct 18, 2023

Conversation

thomaseizinger
Copy link
Contributor

@thomaseizinger thomaseizinger commented Jun 5, 2023

Description

We deprecate the set_connection_keep_alive function in preparation for removing the KeepAlive::Until entirely. This is backwards-compatible.

Notes & open questions

At the moment, having to add keep_alive::Behaviour to things makes this rather clunky. We could fix this with a proposal like #3844 (comment).

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

@mxinden
Copy link
Member

mxinden commented Jun 26, 2023

Direction here looks good to me.

@thomaseizinger
Copy link
Contributor Author

Direction here looks good to me.

I want to ship #4121 first so that we can avoid the use of keep_alive::Behaviour for the perf protocol.

@thomaseizinger thomaseizinger added this to the Simplify idle connection management milestone Sep 17, 2023
@thomaseizinger thomaseizinger removed this from the Simplify idle connection management milestone Sep 19, 2023
@thomaseizinger thomaseizinger marked this pull request as ready for review September 20, 2023 02:39
@thomaseizinger thomaseizinger changed the title feat(request-response): only keep connection alive while we are using it feat(request-response): deprecate Config::set_connection_keep_alive Sep 20, 2023
@mergify

This comment was marked as resolved.

@thomaseizinger thomaseizinger mentioned this pull request Sep 28, 2023
@mergify

This comment was marked as resolved.

@thomaseizinger
Copy link
Contributor Author

Friendly ping @mxinden.

@mergify

This comment was marked as resolved.

@thomaseizinger thomaseizinger added the internal-change Pull requests that make internal changes to crates and thus don't need to include a changelog entry. label Oct 17, 2023
@thomaseizinger
Copy link
Contributor Author

Marking as internal-change for the changes in perf/.

Copy link
Member

@mxinden mxinden 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. Thanks.

@thomaseizinger
Copy link
Contributor Author

@mergify refresh

@mergify
Copy link

mergify bot commented Oct 18, 2023

refresh

✅ Pull request refreshed

@mergify mergify bot merged commit 407dd42 into master Oct 18, 2023
71 of 72 checks passed
@mergify mergify bot deleted the feat/3844-request-response branch October 18, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal-change Pull requests that make internal changes to crates and thus don't need to include a changelog entry. send-it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants