Fixes unwatchOnRelease redis config

This commit is contained in:
Raul Ochoa 2015-07-05 21:00:25 +02:00
parent bf24347328
commit 0da6495330
2 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,9 @@ Announcements:
New features: New features:
- Exposes redis `noReadyCheck` config - Exposes redis `noReadyCheck` config
Bug fixes:
- Fixes `unwatchOnRelease` redis config
## 2.6.1 ## 2.6.1

2
app.js
View File

@ -65,7 +65,7 @@ if ( global.environment.log_filename ) {
global.log4js.configure(log4js_config, { cwd: __dirname }); global.log4js.configure(log4js_config, { cwd: __dirname });
global.logger = global.log4js.getLogger(); global.logger = global.log4js.getLogger();
var redisOpts = _.extend(global.environment.redis, { name: 'windshaft', noReadyCheck: true }), var redisOpts = _.extend(global.environment.redis, { name: 'windshaft', unwatchOnRelease: false, noReadyCheck: true }),
redisPool = new RedisPool(redisOpts); redisPool = new RedisPool(redisOpts);
// Include cartodb_windshaft only _after_ the "global" variable is set // Include cartodb_windshaft only _after_ the "global" variable is set