increase post cache size

This commit is contained in:
Barış Soner Uşaklı
2018-04-13 18:16:47 -04:00
parent 4109f2c142
commit 7b93de2731

View File

@@ -4,7 +4,7 @@ var LRU = require('lru-cache');
var meta = require('../meta');
var cache = LRU({
max: parseInt(meta.config.postCacheSize, 10) || 1048576,
max: parseInt(meta.config.postCacheSize, 10) || 5242880,
length: function (n) { return n.length; },
maxAge: 0,
});