From 5a4a35b665580a73ad0d848649fda37e32ebacb5 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 16 Apr 2014 17:53:42 +0200 Subject: [PATCH] Fix documentation for redis.max setting Closes #192 --- config/environments/development.js.example | 4 ++-- config/environments/production.js.example | 4 ++-- config/environments/staging.js.example | 4 ++-- config/environments/test.js.example | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/environments/development.js.example b/config/environments/development.js.example index aaa5f51b..dbe855fc 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -96,9 +96,9 @@ var config = { // 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 + // There are currently 2 pools involved in serving // windshaft-cartodb requests so multiply this number - // by 3 to know how many possible connections will be + // by 2 to know how many possible connections will be // kept open by the server. The default is 50. max: 50, idleTimeoutMillis: 1, // idle time before dropping connection diff --git a/config/environments/production.js.example b/config/environments/production.js.example index 345f8c8f..b3197f5f 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -90,9 +90,9 @@ var config = { // 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 + // There are currently 2 pools involved in serving // windshaft-cartodb requests so multiply this number - // by 3 to know how many possible connections will be + // by 2 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 diff --git a/config/environments/staging.js.example b/config/environments/staging.js.example index be849b14..3513f475 100644 --- a/config/environments/staging.js.example +++ b/config/environments/staging.js.example @@ -90,9 +90,9 @@ var config = { // 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 + // There are currently 2 pools involved in serving // windshaft-cartodb requests so multiply this number - // by 3 to know how many possible connections will be + // by 2 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 diff --git a/config/environments/test.js.example b/config/environments/test.js.example index a89d83cd..e54a7df1 100644 --- a/config/environments/test.js.example +++ b/config/environments/test.js.example @@ -90,9 +90,9 @@ var config = { // 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 + // There are currently 2 pools involved in serving // windshaft-cartodb requests so multiply this number - // by 3 to know how many possible connections will be + // by 2 to know how many possible connections will be // kept open by the server. The default is 50. max: 50, idleTimeoutMillis: 1, // idle time before dropping connection