Add redis timeout and reap interval options in production.js.example

Use default values, for documentation purposes
This commit is contained in:
Sandro Santilli 2013-01-29 13:01:17 +01:00
parent 8d4f033a56
commit 42b3d0ab9c
2 changed files with 5 additions and 3 deletions

View File

@ -32,8 +32,8 @@ var config = {
,redis: {
host: '127.0.0.1',
port: 6379,
idleTimeoutMillis: 1,
reapIntervalMillis: 1
idleTimeoutMillis: 1, // idle time before dropping connection
reapIntervalMillis: 1 // time between cleanups
}
,sqlapi: {
protocol: 'http',

View File

@ -25,7 +25,9 @@ var config = {
}
,redis: {
host: '127.0.0.1',
port: 6379
port: 6379,
idleTimeoutMillis: 30000, // idle time before dropping connection
reapIntervalMillis: 1000 // time between cleanups
}
,sqlapi: {
protocol: 'https',