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

[v13] Respect client idle timeout setting #28202

Merged
merged 1 commit into from Jun 26, 2023

Conversation

rosstimothy
Copy link
Contributor

Backport #27484 to branch/v13

Client connections were never using the `srv.TrackingReadConn`
created by the `srv.ConnectionMonitor` which caused all connections to
appear idle and be disconnected whenever the client idle timeout
was reached.

`(srv.ConnectionMonitor) MonitorConn` now returns the provided connection
which is wrapped in the tracking connection. Callers must ensure that
the returned connection is used instead of the connection passed in
to `MonitorConn`.

Fixes #27392
@rosstimothy rosstimothy marked this pull request as ready for review June 23, 2023 15:58
@github-actions github-actions bot requested review from jakule and Joerger June 23, 2023 15:58
@github-actions github-actions bot added application-access database-access Database access related issues and PRs size/md labels Jun 23, 2023
@rosstimothy rosstimothy added this pull request to the merge queue Jun 26, 2023
Merged via the queue into branch/v13 with commit d1041f2 Jun 26, 2023
24 checks passed
@rosstimothy rosstimothy deleted the bot/backport-27484-branch/v13 branch June 26, 2023 18:23
@r0mant r0mant mentioned this pull request Jul 14, 2023
@fheinecke fheinecke mentioned this pull request Sep 26, 2023
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.

None yet

3 participants