brianc/node-postgres — Issue #89: reapIntervalMillis from generic-pool
Author: progman
Created: 2012-02-01 10:02:12+00:00
State: open

Please commit this:

diff --git a/index.js b/index.js
index d96d44c..ac2991e 100644
--- a/index.js
+++ b/index.js
@@ -76,7 +76,8 @@ PG.prototype.connect = function(config, callback) {
client.end();
},
max: defaults.poolSize,
- idleTimeoutMillis: defaults.poolIdleTimeout
+ idleTimeoutMillis: defaults.poolIdleTimeout,
+ reapIntervalMillis: defaults.reapIntervalMillis
});
return pool.acquire(cb);
}