Hang oracledb.connect_async when limit for database session is reached #413
Unanswered
jandvorak-sol60279
asked this question in
Q&A
Replies: 3 comments 1 reply
-
workaround is to wrap connect_async with |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you have a nice little, runnable test case, can you open an issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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