-
Notifications
You must be signed in to change notification settings - Fork 29
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
MRI Driver produces RuntimeError #191
Comments
Is it possible you are trying to acquire a new connection while closing the connection pool? |
@ioquatix I see you opened socketry/async-pool#14. Were you able to reproduce the second error?
|
No sorry I have not had time, but will check it next week. |
Do have a repro script I can use? |
Yes, it is well possible. We store the pool as an instance variable of effectively a singleton. So multiple threads are accessing the pool. However, if I understood you correctly when exiting the async block the connection pool is closed. So the current pattern is that we constantly create new pools. But until the pool is closed threads can request a new resource in an async context. I know that is not ideal and we are trying to replace async-pool with a different implementation. |
|
Confirmed this is no longer an issue with 4.4.0.alpha.9. |
Database:
Neo4j 3.5, 4.4
Gems:
Error:
The text was updated successfully, but these errors were encountered: