increase post cache size

v1.18.x
Barış Soner Uşaklı 7 years ago
parent 4109f2c142
commit 7b93de2731

@ -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,
});

Loading…
Cancel
Save