diff --git a/config/environments/development.js b/config/environments/development.js index e02b1c66..ed8674cb 100644 --- a/config/environments/development.js +++ b/config/environments/development.js @@ -5,7 +5,7 @@ module.exports.redis = {host: '127.0.0.1', idleTimeoutMillis: 1, reapIntervalMillis: 1}; module.exports.windshaft_port = 8181; -module.exports.lru_cache = true; +module.exports.lru_cache = false; module.exports.lru_cache_size = 10000; module.exports.enable_cors = true; module.exports.ttl_timeout = 5; diff --git a/config/environments/production.js b/config/environments/production.js index d1ed9634..5d4bdaad 100644 --- a/config/environments/production.js +++ b/config/environments/production.js @@ -2,6 +2,6 @@ module.exports.name = 'production'; module.exports.postgres = {user: 'tileuser', host: '127.0.0.1', port: 6432, max_size: 4}; module.exports.redis = {host: '127.0.0.1', port: 6379}; module.exports.windshaft_port = 8181; -module.exports.lru_cache = true; +module.exports.lru_cache = false; module.exports.lru_cache_size = 10000; module.exports.ttl_timeout = 600; // 10 minutes