[skip ci] Use cachefs for artifacts to avoid memory hog

This commit is contained in:
Brahim Hadriche committed 2025-10-28 08:29:42 -04:00
1 parent 963b44c8c8
commit b49a2ee05a
4 files changed
+9 -9

No files matched your search

@@ -563,7 +563,7 @@ function ReportVideoError(errorData as object, url as string) as void
attachments = invalid
if errorData.body.Instr("malformed data") <> -1 or errorData.body.Instr("invalid pathname") <> -1
lastGeneratedDash = ReadAsciiFile("tmp:/last_generated_dash.xml")
lastGeneratedDash = ReadAsciiFile("cachefs:/last_generated_dash.xml")
if not StringUtils.IsNullOrEmpty(lastGeneratedDash)
attachments = [{
filename: "last_generated_dash.xml"
@@ -571,7 +571,7 @@ function ReportVideoError(errorData as object, url as string) as void
data: lastGeneratedDash
}]
else
lastGeneratedHls = ReadAsciiFile("tmp:/last_generated_hls.m3u8")
lastGeneratedHls = ReadAsciiFile("cachefs:/last_generated_hls.m3u8")
if not StringUtils.IsNullOrEmpty(lastGeneratedHls)
attachments = [{
filename: "last_generated_hls.m3u8"