Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Rework pool lock logic to handle new connections context switches #109
I was able to make a spec to repro the issue in crystal-lang/crystal-mysql@325493b#diff-f41a8330fda8a5ae668e7e17638aef40R40-R57
A couple of things I considered during this PR:
For now, this PR should fix the issue but there are some ideas to improve the logic.