-
Notifications
You must be signed in to change notification settings - Fork 122
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
Pool connection is never released (C++) #355
Comments
Brother, write your own thread pool. The performance of the built-in thread pool feels too low or always error-prone. I have given up using it. Write your own thread pool. |
Hi, The code hangs in the 3rd iteration as by default, if the pool is exhausted, requesting a new connection blocks until one is available. Regards, Vincent |
That's not the issue I was describing. The problem is that |
Indeed, I missed that point. I will investigate. Regards, Vincent. |
Hi, This is a bug introduced by commit 8ad2fa4 in v4.7.5. Regards, Vincent |
The following code hangs in
OCISessionGet
in the third iteration:The connections are never released to the pool. As far as I can tell, the
Connection
object is created as transient, and so theHandleDeleter
is never called. But maybe I'm doing something wrong.The text was updated successfully, but these errors were encountered: