MongoCache.coffee 122 B

12345678
  1. LRU = require("lru-cache")
  2. cacheOpts =
  3. max: 5000
  4. maxAge: 1000 * 60 * 60
  5. cache = LRU(cacheOpts)
  6. module.exports = cache