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

fix(client): more reliably detect closed pooled connections #1434

Merged
merged 1 commit into from
Feb 5, 2018

Conversation

seanmonstar
Copy link
Member

Uses a more reliable way of detecting that the connection has been closed, by keeping that knowledge in a separated close/cancel token, instead of relying on the mpsc channel knowing if either side is dropped, or that a ClientMsg::Close variant had been sent.

Closes #1433

@seanmonstar
Copy link
Member Author

@xrl Would it be possible to try out your app with this branch?

@seanmonstar seanmonstar merged commit 265ad67 into master Feb 5, 2018
@seanmonstar seanmonstar deleted the client-pooled-tx2 branch February 5, 2018 17:56
@xrl
Copy link

xrl commented Feb 6, 2018

I updated to 0.11.17 and it has been quiet with ~30 minutes of stress testing. Thanks!

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.

Connection pool returns connections which are not ready
2 participants