Skip to content

Commit 5e34964

Browse files
Since the connection isn't added to the busy list it cannot be removed
either!
1 parent b1c25c5 commit 5e34964

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/oracledb/impl/thin/pool.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,6 @@ cdef class ThinPoolImpl(BaseThinPoolImpl):
600600
# if a connection is available from a previous iteration of the
601601
# loop, drop it from the pool
602602
if temp_conn_impl is not None:
603-
self._busy_conn_impls.remove(temp_conn_impl)
604603
self._drop_conn_impl(temp_conn_impl)
605604

606605
# get a connection from the pool; if one is not immediately
@@ -691,7 +690,6 @@ cdef class AsyncThinPoolImpl(BaseThinPoolImpl):
691690
# if a connection is available from a previous iteration of the
692691
# loop, drop it from the pool
693692
if temp_conn_impl is not None:
694-
self._busy_conn_impls.remove(temp_conn_impl)
695693
self._drop_conn_impl(temp_conn_impl)
696694

697695
# get a connection from the pool; if one is not immediately

0 commit comments

Comments
 (0)