From 0da6495330bd8e8b47cf0e05d011e22a64f646d9 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Sun, 5 Jul 2015 21:00:25 +0200 Subject: [PATCH] Fixes `unwatchOnRelease` redis config --- NEWS.md | 3 +++ app.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 418d5117..db575294 100644 --- a/NEWS.md +++ b/NEWS.md @@ -10,6 +10,9 @@ Announcements: New features: - Exposes redis `noReadyCheck` config +Bug fixes: + - Fixes `unwatchOnRelease` redis config + ## 2.6.1 diff --git a/app.js b/app.js index 257ffe0a..3f35fe47 100755 --- a/app.js +++ b/app.js @@ -65,7 +65,7 @@ if ( global.environment.log_filename ) { global.log4js.configure(log4js_config, { cwd: __dirname }); 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); // Include cartodb_windshaft only _after_ the "global" variable is set