From d7b1ff9a8081bde64f4d3a6129e12ff2ee93b678 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 26 Jun 2013 16:26:02 +0200 Subject: [PATCH] Set default layergroup ttl locally --- lib/cartodb/server_options.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/cartodb/server_options.js b/lib/cartodb/server_options.js index 80c2521d..4938c709 100644 --- a/lib/cartodb/server_options.js +++ b/lib/cartodb/server_options.js @@ -22,7 +22,8 @@ module.exports = function(){ grainstore: { datasource: global.environment.postgres, cachedir: global.environment.millstone.cache_basedir, - mapnik_version: global.environment.mapnik_version || mapnik.versions.mapnik + mapnik_version: global.environment.mapnik_version || mapnik.versions.mapnik, + default_layergroup_ttl: 300 // seconds }, mapnik: { metatile: rendererConfig.metatile,