Skip to content

Commit fd0fd00

Browse files
committed
Remove queueRequests from examples. It is obsolete in node-oracledb 3
1 parent fce6bba commit fd0fd00

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

examples/webapp.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. */
1+
/* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. */
22

33
/******************************************************************************
44
*
@@ -55,7 +55,6 @@ function init() {
5555
// poolMin: 0, // start with no connections; let the pool shrink completely
5656
// poolPingInterval: 60, // check aliveness of connection if in the pool for 60 seconds
5757
// poolTimeout: 60, // terminate connections that are idle in the pool for 60 seconds
58-
// queueRequests: true, // let Node.js queue new getConnection() requests if all pool connections are in use
5958
// queueTimeout: 60000, // terminate getConnection() calls in the queue longer than 60000 milliseconds
6059
// stmtCacheSize: 30 // number of statements that are cached in the statement cache of each connection
6160
},

examples/webapppromises.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. */
1+
/* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. */
22

33
/******************************************************************************
44
*
@@ -55,7 +55,6 @@ function init() {
5555
// poolMin: 0, // start with no connections; let the pool shrink completely
5656
// poolPingInterval: 60, // check aliveness of connection if in the pool for 60 seconds
5757
// poolTimeout: 60, // terminate connections that are idle in the pool for 60 seconds
58-
// queueRequests: true, // let Node.js queue new getConnection() requests if all pool connections are in use
5958
// queueTimeout: 60000, // terminate getConnection() calls in the queue longer than 60000 milliseconds
6059
// stmtCacheSize: 30 // number of statements that are cached in the statement cache of each connection
6160
})

0 commit comments

Comments
 (0)