mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-06 15:48:43 +02:00
increase post cache size
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user