diff --git a/config/environments/development.js.example b/config/environments/development.js.example index 050cfc45..8d5bb5a9 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -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', diff --git a/config/environments/production.js.example b/config/environments/production.js.example index e7a76715..fb9ef4b3 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -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',