Skip to content

Commit 3b3e52c

Browse files
abenhamdinebrianc
authored andcommitted
Prefer max over poolSize : max is the only property documented in node-pg-pool
1 parent 27492ef commit 3b3e52c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939

4040
// number of connections to use in connection pool
4141
// 0 will disable connection pooling
42-
poolSize: 10,
42+
max: 10,
4343

4444
// max milliseconds a client can go unused before it is removed
4545
// from the pool and destroyed

0 commit comments

Comments
 (0)