mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
8 lines
No EOL
122 B
CoffeeScript
8 lines
No EOL
122 B
CoffeeScript
LRU = require("lru-cache")
|
|
cacheOpts =
|
|
max: 5000
|
|
maxAge: 1000 * 60 * 60
|
|
|
|
cache = LRU(cacheOpts)
|
|
|
|
module.exports = cache |