Comparing version 0.6.9 to 0.6.10
module.exports = { | ||
//database user's name | ||
user: process.env.USER, | ||
//name of database to connect | ||
database: process.env.USER, | ||
//database user's password | ||
password: null, | ||
//database port | ||
port: 5432, | ||
//number of rows to return at a time from a prepared statement's | ||
//portal. 0 will return all rows at once | ||
rows: 0, | ||
//number of connections to use in connection pool | ||
//0 will disable connection pooling | ||
poolSize: 10, | ||
//duration of node-pool timeout | ||
//max milliseconds a client can go unused before it is removed | ||
//from the pool and destroyed | ||
poolIdleTimeout: 30000, | ||
//frequeny to check for idle clients within the client pool | ||
reapIntervalMillis: 1000, | ||
// binary result mode | ||
binary: false | ||
} |
@@ -79,3 +79,4 @@ var EventEmitter = require('events').EventEmitter; | ||
max: defaults.poolSize, | ||
idleTimeoutMillis: defaults.poolIdleTimeout | ||
idleTimeoutMillis: defaults.poolIdleTimeout, | ||
reapIntervalMillis: defaults.reapIntervalMillis | ||
}); | ||
@@ -82,0 +83,0 @@ return pool.acquire(cb); |
{ "name": "pg", | ||
"version": "0.6.9", | ||
"version": "0.6.10", | ||
"description": "PostgreSQL client - pure javascript & libpq with the same API", | ||
@@ -13,3 +13,3 @@ "keywords" : ["postgres", "pg", "libpq", "postgre", "database", "rdbms"], | ||
"dependencies" : { | ||
"generic-pool" : "1.0.7" | ||
"generic-pool" : "1.0.9" | ||
}, | ||
@@ -16,0 +16,0 @@ "scripts" : { |
@@ -134,2 +134,3 @@ #node-postgres | ||
## Production Use | ||
* [yammer.com](http://www.yammer.com) | ||
* [bayt.com](http://bayt.com) | ||
@@ -136,0 +137,0 @@ |
210750
5690
167
+ Addedgeneric-pool@1.0.9(transitive)
- Removedgeneric-pool@1.0.7(transitive)
Updatedgeneric-pool@1.0.9