فهرست منبع

increase mongo cache size

Henry Oswald 7 سال پیش
والد
کامیت
5eaf4c8551
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      services/spelling/app/coffee/MongoCache.coffee

+ 2 - 2
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)