From 5eaf4c855154cb47cf4001257413f4a9057b3afc Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 14 Jan 2019 10:10:32 +0000 Subject: [PATCH] increase mongo cache size --- services/spelling/app/coffee/MongoCache.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/spelling/app/coffee/MongoCache.coffee b/services/spelling/app/coffee/MongoCache.coffee index eef75ddbde..8138c92696 100644 --- a/services/spelling/app/coffee/MongoCache.coffee +++ b/services/spelling/app/coffee/MongoCache.coffee @@ -1,7 +1,7 @@ LRU = require("lru-cache") cacheOpts = - max: 5000 - maxAge: 1000 * 60 * 60 + max: 15000 + maxAge: 1000 * 60 * 60 * 10 cache = LRU(cacheOpts)