mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: up cache size
This commit is contained in:
committed by
GitHub
parent
d6c2764fe7
commit
9600ede579
@@ -5,7 +5,7 @@ module.exports.create = function (name) {
|
|||||||
var pubsub = require('../pubsub');
|
var pubsub = require('../pubsub');
|
||||||
|
|
||||||
var cache = new LRU({
|
var cache = new LRU({
|
||||||
max: 20000,
|
max: 40000,
|
||||||
length: function () { return 1; },
|
length: function () { return 1; },
|
||||||
maxAge: 0,
|
maxAge: 0,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user