Use global environment settings in carto_data (closes #27)

This commit is contained in:
Sandro Santilli 2012-07-09 19:32:48 +02:00
parent c884deba05
commit 15162e8c38

View File

@ -12,7 +12,7 @@ var RedisPool = require("./redis_pool")
, Step = require('step'); , Step = require('step');
module.exports = function() { module.exports = function() {
var redis_pool = new RedisPool(); var redis_pool = new RedisPool(global.environment.redis);
var me = { var me = {