mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
readme: fix pool size
This commit is contained in:
parent
93aa52d43b
commit
fe6215d71c
@ -24,7 +24,7 @@ var conString = "postgres://username:password@localhost/database";
|
||||
|
||||
//this initializes a connection pool
|
||||
//it will keep idle connections open for a (configurable) 30 seconds
|
||||
//and set a limit of 20 (also configurable)
|
||||
//and set a limit of 10 (also configurable)
|
||||
pg.connect(conString, function(err, client, done) {
|
||||
if(err) {
|
||||
return console.error('error fetching client from pool', err);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user