From ffda103d6179d693e8a8a4ed8a9a470598aa0ab7 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 4 Mar 2014 15:36:08 +0100 Subject: [PATCH] Do not UNWATCH on every redis client release Closes #161 --- NEWS.md | 1 + lib/cartodb/server_options.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/NEWS.md b/NEWS.md index ba88710d..1a2534a0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -7,6 +7,7 @@ Enhancements: - Respond with a permission denied on attempt to access map tiles waiving signature of someone who had not left any (#170) - Do not log an error on GET / (#177) + - Do not UNWATCH on every redis client release (#161) Bug fixes: diff --git a/lib/cartodb/server_options.js b/lib/cartodb/server_options.js index 854aca9e..80c32b74 100644 --- a/lib/cartodb/server_options.js +++ b/lib/cartodb/server_options.js @@ -67,6 +67,10 @@ module.exports = function(){ log_format: global.environment.log_format, useProfiler: global.environment.useProfiler }; + + // Do not send unwatch on release + // See http://github.com/CartoDB/Windshaft-cartodb/issues/161 + me.redis.unwatchOnRelease = false; // Be nice and warn if configured mapnik version // is != instaled mapnik version