fix issue #89
This commit is contained in:
parent
cc15fa1e54
commit
89e1c6633a
@ -76,7 +76,8 @@ PG.prototype.connect = function(config, callback) {
|
|||||||
client.end();
|
client.end();
|
||||||
},
|
},
|
||||||
max: defaults.poolSize,
|
max: defaults.poolSize,
|
||||||
idleTimeoutMillis: defaults.poolIdleTimeout
|
idleTimeoutMillis: defaults.poolIdleTimeout,
|
||||||
|
reapIntervalMillis: defaults.reapIntervalMillis
|
||||||
});
|
});
|
||||||
return pool.acquire(cb);
|
return pool.acquire(cb);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user