Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
33
node_modules/generic-pool/lib/PoolDefaults.js
generated
vendored
Normal file
33
node_modules/generic-pool/lib/PoolDefaults.js
generated
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
"use strict";
|
||||
/**
|
||||
* Create the default settings used by the pool
|
||||
*
|
||||
* @class
|
||||
*/
|
||||
class PoolDefaults {
|
||||
constructor() {
|
||||
this.fifo = true;
|
||||
this.priorityRange = 1;
|
||||
|
||||
this.testOnBorrow = false;
|
||||
this.testOnReturn = false;
|
||||
|
||||
this.autostart = true;
|
||||
|
||||
this.evictionRunIntervalMillis = 0;
|
||||
this.numTestsPerEvictionRun = 3;
|
||||
this.softIdleTimeoutMillis = -1;
|
||||
this.idleTimeoutMillis = 30000;
|
||||
|
||||
// FIXME: no defaults!
|
||||
this.acquireTimeoutMillis = null;
|
||||
this.maxWaitingClients = null;
|
||||
|
||||
this.min = null;
|
||||
this.max = null;
|
||||
// FIXME: this seems odd?
|
||||
this.Promise = Promise;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PoolDefaults;
|
||||
Loading…
Add table
Add a link
Reference in a new issue