@@ -1229,21 +1229,24 @@ Oracledb Methods
1229
1229
users). The default value is *True *.
1230
1230
1231
1231
The ``timeout `` parameter is the length of time (in seconds) that a
1232
- connection may remain idle in the pool before it is terminated. This
1232
+ connection may remain idle in the pool before it is terminated. This
1233
1233
applies only when the pool has more than ``min `` connections open, allowing
1234
- it to shrink to the specified minimum size. If the value of this parameter
1235
- is 0, then the connections are never terminated. The default value is *0 *
1236
- seconds.
1234
+ it to shrink to the specified minimum size. The default value is *0 *
1235
+ seconds. A value of *0 * means there is no limit.
1237
1236
1238
1237
The ``wait_timeout `` parameter is the length of time (in milliseconds) that
1239
1238
a caller should wait when acquiring a connection from the pool with
1240
1239
``getmode `` set to :data: `oracledb.POOL_GETMODE_TIMEDWAIT `. The default
1241
1240
value is *0 * milliseconds.
1242
1241
1243
1242
The ``max_lifetime_session `` parameter is the length of time (in seconds)
1244
- that connections can remain in the pool. If the value of this parameter is
1245
- 0, then the connections may remain in the pool indefinitely. The default
1246
- value is *0 * seconds.
1243
+ that a pooled connection may exist since first being created. The default
1244
+ value is *0 *. A value of *0 * means that there is no limit. Connections
1245
+ become candidates for termination when they are acquired or released back
1246
+ to the pool and have existed for longer than ``max_lifetime_session ``
1247
+ seconds. In python-oracledb Thick mode, Oracle Client libraries 12.1 or
1248
+ later must be used and, prior to Oracle Client 21, cleanup only occurs when
1249
+ the pool is accessed.
1247
1250
1248
1251
The ``session_callback `` parameter is a callable that is invoked when a
1249
1252
connection is returned from the pool for the first time, or when the
@@ -1687,21 +1690,24 @@ Oracledb Methods
1687
1690
users). The default value is *True *.
1688
1691
1689
1692
The ``timeout `` parameter is the length of time (in seconds) that a
1690
- connection may remain idle in the pool before it is terminated. This
1693
+ connection may remain idle in the pool before it is terminated. This
1691
1694
applies only when the pool has more than ``min `` connections open, allowing
1692
- it to shrink to the specified minimum size. If the value of this parameter
1693
- is 0, then the connections are never terminated. The default value is *0 *
1694
- seconds.
1695
+ it to shrink to the specified minimum size. The default value is *0 *
1696
+ seconds. A value of *0 * means there is no limit.
1695
1697
1696
1698
The ``wait_timeout `` parameter is the length of time (in milliseconds) that
1697
1699
a caller should wait when acquiring a connection from the pool with
1698
1700
``getmode `` set to :data: `oracledb.POOL_GETMODE_TIMEDWAIT `. The default
1699
1701
value is *0 * milliseconds.
1700
1702
1701
1703
The ``max_lifetime_session `` parameter is the length of time (in seconds)
1702
- that connections can remain in the pool. If the value of this parameter is
1703
- 0, then the connections may remain in the pool indefinitely. The default
1704
- value is *0 * seconds.
1704
+ that a pooled connection may exist since first being created. The default
1705
+ value is *0 *. A value of *0 * means that there is no limit. Connections
1706
+ become candidates for termination when they are acquired or released back
1707
+ to the pool and have existed for longer than ``max_lifetime_session ``
1708
+ seconds. In python-oracledb Thick mode, Oracle Client libraries 12.1 or
1709
+ later must be used and, prior to Oracle Client 21, cleanup only occurs when
1710
+ the pool is accessed.
1705
1711
1706
1712
The ``session_callback `` parameter is a callable that is invoked when a
1707
1713
connection is returned from the pool for the first time, or when the
@@ -2202,21 +2208,24 @@ Oracledb Methods
2202
2208
The default value is *True *.
2203
2209
2204
2210
The ``timeout `` parameter is the length of time (in seconds) that a
2205
- connection may remain idle in the pool before it is terminated. This
2211
+ connection may remain idle in the pool before it is terminated. This
2206
2212
applies only when the pool has more than ``min `` connections open, allowing
2207
- it to shrink to the specified minimim size. If the value of this parameter
2208
- is 0, then the connections are never terminated. The default value is *0 *
2209
- seconds.
2213
+ it to shrink to the specified minimum size. The default value is *0 *
2214
+ seconds. A value of *0 * means there is no limit.
2210
2215
2211
2216
The ``wait_timeout `` parameter is the length of time (in milliseconds) that
2212
2217
a caller should wait when acquiring a connection from the pool with
2213
2218
``getmode `` set to :data: `oracledb.POOL_GETMODE_TIMEDWAIT `. The default
2214
2219
value is *0 * milliseconds.
2215
2220
2216
2221
The ``max_lifetime_session `` parameter is the length of time (in seconds)
2217
- that connections can remain in the pool. If the value of this parameter is
2218
- 0, then the connections may remain in the pool indefinitely. The default
2219
- value is *0 * seconds.
2222
+ that a pooled connection may exist since first being created. The default
2223
+ value is *0 *. A value of *0 * means that there is no limit. Connections
2224
+ become candidates for termination when they are acquired or released back
2225
+ to the pool and have existed for longer than ``max_lifetime_session ``
2226
+ seconds. In python-oracledb Thick mode, Oracle Client libraries 12.1 or
2227
+ later must be used and, prior to Oracle Client 21, cleanup only occurs when
2228
+ the pool is accessed.
2220
2229
2221
2230
The ``session_callback `` parameter is a callable that is invoked when a
2222
2231
connection is returned from the pool for the first time, or when the
0 commit comments