Skip to content

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

Merged
haaawk merged 2 commits into
mainfrom
reset_connection
Feb 29, 2024
Merged

Go: Reset connection when it's returned to a pool#1100
haaawk merged 2 commits into
mainfrom
reset_connection

Conversation

@haaawk

@haaawk haaawk commented Feb 28, 2024

Copy link
Copy Markdown
Contributor

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

haaawk commented Feb 28, 2024

Copy link
Copy Markdown
Contributor Author

@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 <piotr@chiselstrike.com>
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
@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
@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