Fixed queueTimeout of 0 (Issue #1338)
This commit is contained in:
parent
53c25af87b
commit
8cbd79f3d0
|
@ -14,6 +14,10 @@
|
|||
|
||||
- Fixed use of `oracledb.NCLOB` in `fetchAsString`. See [Issue 1351](https://github.com/oracle/node-oracledb/issues/1351).
|
||||
|
||||
- Fixed `queueTimeout` of 0 to allow pool connection requests to be queued
|
||||
indefinitely. See [Issue
|
||||
1338](https://github.com/oracle/node-oracledb/issues/1338).
|
||||
|
||||
- Enhanced the numeric suffix feature (for duplicate SELECT column names when
|
||||
using `oracledb.OUT_FORMAT_OBJECT` mode) to also support nested cursors and
|
||||
REF CURSORS.
|
||||
|
|
|
@ -118,7 +118,7 @@ async function getConnection(a1) {
|
|||
// if using a queue timeout, establish the timeout so that when it
|
||||
// expires the payload will be removed from the queue and an exception
|
||||
// thrown
|
||||
if (this._queueTimeout !== 0) {
|
||||
if (this.queueTimeout !== 0) {
|
||||
payload.timeoutHandle = setTimeout(() => {
|
||||
const ix = this._connRequestQueue.indexOf(payload);
|
||||
if (ix >= 0) {
|
||||
|
|
Loading…
Reference in New Issue