From 89e1c6633a275c7cc9977b0ba3f751a299c2b30a Mon Sep 17 00:00:00 2001 From: booo Date: Wed, 1 Feb 2012 12:34:34 +0100 Subject: [PATCH] fix issue #89 --- lib/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }