Hang oracledb.connect_async when limit for database session is reached #413
Replies: 4 comments 2 replies
-
workaround is to wrap connect_async with |
Beta Was this translation helpful? Give feedback.
-
If you have a nice little, runnable test case, can you open an issue? |
Beta Was this translation helpful? Give feedback.
-
This may be related to #392 which I am working on resolving. Once I have that resolved you can try your scenario and see if that helps. |
Beta Was this translation helpful? Give feedback.
-
i wasnt able to reproduce the issue and it stops occuring, so i suppose, it was resolved. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
i was rewriting some code used in fastapi for gathering data from sync to async version, but occasionally, when database got sessions depleted (i guess we have some leakage in java application using oracle datasource), the connect_async will hang with forever, with no raising exceptions at all.
using oracle onprem 19.22 and latest oracledb 2.4.1
while running regular oracledb.connect will raise
and then
Beta Was this translation helpful? Give feedback.
All reactions