diff --git a/lib/index.js b/lib/index.js index d96d44c..ac2991e 100644 --- a/lib/index.js +++ b/lib/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); }