Use global environment settings in carto_data (closes #27)
This commit is contained in:
parent
c884deba05
commit
15162e8c38
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user