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

Go: Reset connection when it's returned to a pool #1100

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Conversation

haaawk
Copy link
Contributor

@haaawk haaawk commented Feb 28, 2024

Go has a pool of connections.
We need to reset baton in the connection every time it's returned to the pool.
Otherwise, user gets STREAM EXPIRED errors a lot.

This depends on #1099

@haaawk
Copy link
Contributor Author

haaawk commented Feb 28, 2024

@penberg @LucioFranco I'm changing public API in
Make all methods of Conn trait async`
Is this ok with you? I hope it does not break other SDKs

@haaawk haaawk force-pushed the reset_connection branch 5 times, most recently from 7a3482a to 95521c3 Compare February 29, 2024 07:41
Signed-off-by: Piotr Jastrzebski <[email protected]>
Signed-off-by: Piotr Jastrzebski <[email protected]>
@haaawk haaawk added this pull request to the merge queue Feb 29, 2024
Merged via the queue into main with commit 4b2732c Feb 29, 2024
16 checks passed
@haaawk haaawk deleted the reset_connection branch February 29, 2024 10:23
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.

1 participant