This commit is contained in:
Barış Soner Uşaklı
2018-12-14 17:31:06 -05:00
parent bf75f3e3b8
commit 29b63ae7fb
8 changed files with 8 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ module.exports.create = function (name) {
var LRU = require('lru-cache');
var pubsub = require('../pubsub');
var cache = LRU({
var cache = new LRU({
max: 20000,
length: function () { return 1; },
maxAge: 0,