mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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 |