Skip to content

Commit 27492ef

Browse files
abenhamdinebrianc
authored andcommitted
Remove properties no more used in node-pg-pool
1 parent c961888 commit 27492ef

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

lib/defaults.js

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,15 @@ module.exports = {
3535
// binary result mode
3636
binary: false,
3737

38-
// Connection pool options - see https://github.com/coopernurse/node-pool
38+
// Connection pool options - see https://github.com/brianc/node-pg-pool
39+
3940
// number of connections to use in connection pool
4041
// 0 will disable connection pooling
4142
poolSize: 10,
4243

4344
// max milliseconds a client can go unused before it is removed
4445
// from the pool and destroyed
45-
poolIdleTimeout: 30000,
46-
47-
// frequency to check for idle clients within the client pool
48-
reapIntervalMillis: 1000,
49-
50-
// if true the most recently released resources will be the first to be allocated
51-
returnToHead: false,
52-
53-
// pool log function / boolean
54-
poolLog: false,
46+
idleTimeoutMillis: 30000,
5547

5648
client_encoding: '',
5749

0 commit comments

Comments
 (0)