mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 04:55:17 -05:00
11 lines
267 B
JavaScript
11 lines
267 B
JavaScript
// TODO: This file was created by bulk-decaffeinate.
|
|
// Sanity-check the conversion and remove this comment.
|
|
const LRU = require('lru-cache')
|
|
const cacheOpts = {
|
|
max: 15000,
|
|
maxAge: 1000 * 60 * 60 * 10,
|
|
}
|
|
|
|
const cache = new LRU(cacheOpts)
|
|
|
|
module.exports = cache
|