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
What versions are you using?
19.24.0.0.0
platform.platform: Windows-11-10.0.26100-SP0
sys.maxsize > 2**32: True
platform.python_version: 3.13.1
oracledb.version: 3.1.0
Is it an error or a hang or a crash?
No error
What error(s) or behavior you are seeing?
call_timeout is resetting back to 0 when idle time exceeds ping_interval. I am setting the call_timeout in the session_callback.
Does your application call init_oracle_client()?
No
Include a runnable Python script that shows the problem.
import oracledb
async def set_connection_attributes(conn, tag):
conn.call_timeout = 1000
pool = oracledb.create_pool_async(
user = x,
password = x,
dsn = x,
min = 5,
max = 10,
session_callback=set_connection_attributes,
expire_time=10,
ping_interval=0
)
async with pool.acquire() as conn:
print(f"call timeout: {conn.call_timeout}")
I have pushed a patch that should correct this issue and have initated a build from which you can download pre-built development wheels once it completes. You can also build from source if you prefer. If you can test your scenario and confirm the patch works as expected, that would be appreciated!
Activity
Fixed bug which caused Connection.call_timeout to be reset to zero when
anthony-tuininga commentedon Jan 23, 2026
I have pushed a patch that should correct this issue and have initated a build from which you can download pre-built development wheels once it completes. You can also build from source if you prefer. If you can test your scenario and confirm the patch works as expected, that would be appreciated!
Fixed bug which caused Connection.call_timeout to be reset to zero when
anthony-tuininga commentedon Jan 23, 2026
I have initiated a new build on the
v3.4.xbranch in preparation for the release of python-oracledb 3.4.2.anthony-tuininga commentedon Jan 28, 2026
This was included in python-oracledb 3.4.2 which was just released.