소스 검색

reduce cache limit for pdfs

Brian Gough 11 년 전
부모
커밋
3a3eda0ccf
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/clsi/app/coffee/OutputCacheManager.coffee

+ 1 - 1
services/clsi/app/coffee/OutputCacheManager.coffee

@@ -10,7 +10,7 @@ OutputFileOptimiser = require "./OutputFileOptimiser"
 module.exports = OutputCacheManager =
 	CACHE_SUBDIR: '.cache/clsi'
 	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
 
 	path: (buildId, file) ->