|
|
|
@ -22,9 +22,10 @@ module.exports = function(redisPool) {
|
|
|
|
|
queryTablesApi = new QueryTablesApi();
|
|
|
|
|
|
|
|
|
|
var rendererConfig = _.defaults(global.environment.renderer || {}, {
|
|
|
|
|
cache_ttl: 60000, // milliseconds
|
|
|
|
|
metatile: 4,
|
|
|
|
|
bufferSize: 64
|
|
|
|
|
cache_ttl: 60000, // milliseconds
|
|
|
|
|
metatile: 4,
|
|
|
|
|
bufferSize: 64,
|
|
|
|
|
statsInterval: 60000
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var me = {
|
|
|
|
@ -60,7 +61,8 @@ module.exports = function(redisPool) {
|
|
|
|
|
},
|
|
|
|
|
statsd: global.environment.statsd,
|
|
|
|
|
renderCache: {
|
|
|
|
|
ttl: rendererConfig.cache_ttl
|
|
|
|
|
ttl: rendererConfig.cache_ttl,
|
|
|
|
|
statsInterval: rendererConfig.statsInterval
|
|
|
|
|
},
|
|
|
|
|
redis: global.environment.redis,
|
|
|
|
|
enable_cors: global.environment.enable_cors,
|
|
|
|
|