Skip to content

Commit ddbe055

Browse files
committed
Correct queueMax version info
1 parent 1a3572b commit ddbe055

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

doc/api.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,6 +1831,8 @@ The default value is 500.
18311831

18321832
This property may be overridden when [creating a connection pool](#createpool).
18331833

1834+
This property was added in node-oracledb 5.0.
1835+
18341836
##### Example
18351837

18361838
```javascript
@@ -2243,6 +2245,8 @@ The default value is 500.
22432245
This optional property overrides the
22442246
[`oracledb.queueMax`](#propdbqueuemax) property.
22452247

2248+
This property was added in node-oracledb 5.0.
2249+
22462250
###### <a name="createpoolpoolattrsqueuerequests"></a> 3.3.1.1.15 `queueRequests`
22472251

22482252
This property was removed in node-oracledb 3.0 and queuing was always enabled.
@@ -5562,6 +5566,8 @@ The maximum number of pending `pool.getConnection()` calls that can be
55625566

55635567
See [`oracledb.queueMax`](#propdbqueuemax).
55645568

5569+
This property was added in node-oracledb 5.0.
5570+
55655571
#### <a name="proppoolqueuerequests"></a> 8.1.10 `pool.queueRequests`
55665572

55675573
This property was removed in node-oracledb 3.0. See [Connection Pool
@@ -16213,11 +16219,6 @@ When upgrading from node-oracledb version 4.0 to version 4.1:
1621316219

1621416220
- Review the [CHANGELOG][83] and take advantage of new features.
1621516221

16216-
Choose a sensible value for the new *Pool* [`queueMax`](#propdbqueuemax)
16217-
attribute, so that applications get the new error only under abnormal
16218-
connection load. To allow all pooled connection requests to be queued (the
16219-
previous behavior), set it to 0.
16220-
1622116222
- Review your application use of node-oracledb error messages since some have changed.
1622216223

1622316224
- Note that the default for [`oracledb.events`](#propdbevents) has reverted to
@@ -16244,6 +16245,11 @@ When upgrading from node-oracledb version 4.0 to version 4.1:
1624416245
Node-oracledb](#initnodeoracledb), particularly around how node-oracledb can
1624516246
locate Oracle Client libraries.
1624616247

16248+
- Choose a sensible value for the new *Pool* [`queueMax`](#propdbqueuemax)
16249+
attribute, so that applications get the new error only under abnormal
16250+
connection load. To allow all pooled connection requests to be queued (the
16251+
previous behavior), set it to -1.
16252+
1624716253
- Take advantage of the new [`prefetchRows`](#propexecprefetchrows) attribute to
1624816254
re-tune SQL queries.
1624916255

0 commit comments

Comments
 (0)