From 1bcf1f977810168cc15b002af6e99c5eae9763ee Mon Sep 17 00:00:00 2001 From: Simon Tokumine Date: Tue, 29 Nov 2011 20:50:32 +0100 Subject: [PATCH] enable cache --- config/environments/production.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/production.js b/config/environments/production.js index 0b80e0fc..0def4000 100644 --- a/config/environments/production.js +++ b/config/environments/production.js @@ -1,7 +1,7 @@ module.exports.name = 'production'; -module.exports.postgres = {user: 'tileuser', host: '127.0.0.1', port: 6432, max_size: 6}; +module.exports.postgres = {user: 'tileuser', host: '127.0.0.1', port: 6432, max_size: 10}; module.exports.redis = {host: '127.0.0.1', port: 6379}; module.exports.windshaft_port = 8181; -module.exports.lru_cache = false; +module.exports.lru_cache = true; module.exports.lru_cache_size = 10000; module.exports.ttl_timeout = 600; // 10 minutes