mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-01 20:29:39 -05:00
reduce cache limit for pdfs
This commit is contained in:
parent
c26de9554d
commit
3a3eda0ccf
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ OutputFileOptimiser = require "./OutputFileOptimiser"
|
||||||
module.exports = OutputCacheManager =
|
module.exports = OutputCacheManager =
|
||||||
CACHE_SUBDIR: '.cache/clsi'
|
CACHE_SUBDIR: '.cache/clsi'
|
||||||
BUILD_REGEX: /^[0-9a-f]+$/ # build id is Date.now() converted to hex
|
BUILD_REGEX: /^[0-9a-f]+$/ # build id is Date.now() converted to hex
|
||||||
CACHE_LIMIT: 32 # maximum of 32 cache directories
|
CACHE_LIMIT: 2 # maximum number of cache directories
|
||||||
CACHE_AGE: 60*60*1000 # up to one hour old
|
CACHE_AGE: 60*60*1000 # up to one hour old
|
||||||
|
|
||||||
path: (buildId, file) ->
|
path: (buildId, file) ->
|
||||||
|
|
Loading…
Reference in a new issue