|
|
@ -29,6 +29,14 @@ var config = {
|
|
|
|
,redis: {
|
|
|
|
,redis: {
|
|
|
|
host: '127.0.0.1',
|
|
|
|
host: '127.0.0.1',
|
|
|
|
port: 6379,
|
|
|
|
port: 6379,
|
|
|
|
|
|
|
|
// Max number of connections in each pool.
|
|
|
|
|
|
|
|
// Users will be put on a queue when the limit is hit.
|
|
|
|
|
|
|
|
// Set to maxConnection to have no possible queues.
|
|
|
|
|
|
|
|
// There are currently 3 pools involved in serving
|
|
|
|
|
|
|
|
// windshaft-cartodb requests so multiply this number
|
|
|
|
|
|
|
|
// by 3 to know how many possible connections will be
|
|
|
|
|
|
|
|
// kept open by the server. The default is 50.
|
|
|
|
|
|
|
|
max: 50,
|
|
|
|
idleTimeoutMillis: 30000, // idle time before dropping connection
|
|
|
|
idleTimeoutMillis: 30000, // idle time before dropping connection
|
|
|
|
reapIntervalMillis: 1000 // time between cleanups
|
|
|
|
reapIntervalMillis: 1000 // time between cleanups
|
|
|
|
}
|
|
|
|
}
|
|
|
|