|
|
|
@ -65,8 +65,12 @@ 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', unwatchOnRelease: false, noReadyCheck: true }),
|
|
|
|
|
redisPool = new RedisPool(redisOpts);
|
|
|
|
|
var redisOpts = _.defaults(global.environment.redis, {
|
|
|
|
|
name: 'windshaft',
|
|
|
|
|
unwatchOnRelease: false,
|
|
|
|
|
noReadyCheck: true
|
|
|
|
|
});
|
|
|
|
|
var redisPool = new RedisPool(redisOpts);
|
|
|
|
|
|
|
|
|
|
// Include cartodb_windshaft only _after_ the "global" variable is set
|
|
|
|
|
// See https://github.com/Vizzuality/Windshaft-cartodb/issues/28
|
|
|
|
|