From 7b93de2731c353b5272c134efc703a45014b2b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 13 Apr 2018 18:16:47 -0400 Subject: [PATCH] increase post cache size --- src/posts/cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posts/cache.js b/src/posts/cache.js index 9fce761490..28c58839e8 100644 --- a/src/posts/cache.js +++ b/src/posts/cache.js @@ -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, });