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

@@ -3,7 +3,7 @@
var LRU = require('lru-cache');
var meta = require('../meta');
var cache = LRU({
var cache = new LRU({
max: meta.config.postCacheSize,
length: function (n) { return n.length; },
maxAge: 0,