You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while porting my project to use a ConnectionPool instead of many Connection, I stumbled across an issue when:
using the thin mode;
setting the timeout to an integer (so not None);
and using a dynamic number of connections (i.e. min != max).
In this specific case, the ConnectionPool.acquire() hangs and never returns a connection. I could identify the problem as due to to the following while loop. I'm not familiar enough with the library intrinsics to provide a PR though.
Hello,
while porting my project to use a
ConnectionPool
instead of manyConnection
, I stumbled across an issue when:None
);min
!=max
).In this specific case, the
ConnectionPool.acquire()
hangs and never returns a connection. I could identify the problem as due to to the following while loop. I'm not familiar enough with the library intrinsics to provide a PR though.python-oracledb/src/oracledb/impl/thin/pool.pyx
Lines 329 to 333 in 7eb9be4
The project uses Python 3.8.13 with
oracledb
1.3.1. The problem is however present since the feature implementation in c7c0d55.Please find a minimal reproducible example below. The script blocks and never completes, staying in an endless loop in
ConnectionPool.acquire()
.Thank you for any help. Let me know if you need more informations.
The text was updated successfully, but these errors were encountered: