Explorar o código

keep one extra build until per-page pdf serving is enabled

Brian Gough %!s(int64=10) %!d(string=hai) anos
pai
achega
dd4e1e17b5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/clsi/app/coffee/OutputCacheManager.coffee

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

@@ -90,7 +90,7 @@ module.exports = OutputCacheManager =
 						# pass back the list of new files in the cache
 						callback(err, results)
 						# let file expiry run in the background, expire all previous files if per-user
-						OutputCacheManager.expireOutputFiles cacheRoot, {keep: buildId, limit: if perUser then 0 else null}
+						OutputCacheManager.expireOutputFiles cacheRoot, {keep: buildId, limit: if perUser then 1 else null}
 
 	archiveLogs: (outputFiles, compileDir, buildId, callback = (error) ->) ->
 		archiveDir = Path.join(compileDir, OutputCacheManager.ARCHIVE_SUBDIR, buildId)