-
Notifications
You must be signed in to change notification settings - Fork 38
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
Dispose closed pool connections #260
Conversation
Thanks, looks good! Would you happen to have time to also update the changelog and maybe add a test case for this? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #260 +/- ##
==========================================
+ Coverage 85.73% 85.77% +0.04%
==========================================
Files 25 25
Lines 2215 2215
==========================================
+ Hits 1899 1900 +1
+ Misses 316 315 -1 ☔ View full report in Codecov by Sentry. |
@isoos Thanks for the quick response. PR updated. Let me know if anything else is needed. |
Nice! Thanks @isoos. Apologies I was in a rush with the kids. Appreciate your help. |
How urgent is this fix to get published? I have a few things in mind to also add, but may not have the time to do it all. Maybe wait a few more days before it gets out? |
🙏 No trouble. I can hang a few days. Let me know if I can help in any way. |
Published in |
In some cases the connection gets closed after a query is executed without throwing an error. This patch checks to see if the connection has been closed and disposes of it.
steps to replicate: