From 15162e8c38e2ea55d4e16bbc6adeaf4ff05088b2 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 9 Jul 2012 19:32:48 +0200 Subject: [PATCH] Use global environment settings in carto_data (closes #27) --- lib/cartodb/carto_data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cartodb/carto_data.js b/lib/cartodb/carto_data.js index 6e219e7b..29569c46 100644 --- a/lib/cartodb/carto_data.js +++ b/lib/cartodb/carto_data.js @@ -12,7 +12,7 @@ var RedisPool = require("./redis_pool") , Step = require('step'); module.exports = function() { - var redis_pool = new RedisPool(); + var redis_pool = new RedisPool(global.environment.redis); var me = {