Răsfoiți Sursa

increase mongo cache size

Henry Oswald 7 ani în urmă
părinte
comite
5eaf4c8551
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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")
 LRU = require("lru-cache")
 cacheOpts = 
 cacheOpts = 
-	max: 5000
-	maxAge: 1000 * 60 * 60
+	max: 15000
+	maxAge: 1000 * 60 * 60 * 10
 
 
 cache = LRU(cacheOpts)
 cache = LRU(cacheOpts)