Default analyses limits can be defined in configuration

This commit is contained in:
Raul Ochoa
2016-10-20 14:03:42 +02:00
parent 30a95b7da3
commit 376573459c
7 changed files with 164 additions and 5 deletions
+4 -2
View File
@@ -39,7 +39,8 @@ var analysisConfig = _.defaults(global.environment.analysis || {}, {
},
logger: {
filename: undefined
}
},
limits: {}
});
module.exports = {
@@ -101,7 +102,8 @@ module.exports = {
},
logger: {
filename: analysisConfig.logger.filename
}
},
limits: analysisConfig.limits
},
// Do not send unwatch on release. See http://github.com/CartoDB/Windshaft-cartodb/issues/161
redis: _.extend(global.environment.redis, {unwatchOnRelease: false}),