From 27492efc11e9998ad9bc1ea8a840d36fbbeb7205 Mon Sep 17 00:00:00 2001 From: Arnaud Benhamdine Date: Wed, 30 Aug 2017 22:19:20 +0200 Subject: [PATCH] Remove properties no more used in node-pg-pool --- lib/defaults.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/lib/defaults.js b/lib/defaults.js index 62f2ad15..f0a6208f 100644 --- a/lib/defaults.js +++ b/lib/defaults.js @@ -35,23 +35,15 @@ module.exports = { // binary result mode binary: false, - // Connection pool options - see https://github.com/coopernurse/node-pool + // Connection pool options - see https://github.com/brianc/node-pg-pool + // number of connections to use in connection pool // 0 will disable connection pooling poolSize: 10, // max milliseconds a client can go unused before it is removed // from the pool and destroyed - poolIdleTimeout: 30000, - - // frequency to check for idle clients within the client pool - reapIntervalMillis: 1000, - - // if true the most recently released resources will be the first to be allocated - returnToHead: false, - - // pool log function / boolean - poolLog: false, + idleTimeoutMillis: 30000, client_encoding: '',