Fixed segment cleanup deleting init.mp4 and reduced its cache duration to 20 seconds.
Automated API tests / test (push) Failing after 5s
Browser Tests / cypress-run (push) Failing after 5s
Lint / Go linter (push) Failing after 4s
HLS tests / tests (push) Failing after 5s
Go Tests / test (push) Has been cancelled
Go Tests / test-bsds (map[name:freebsd version:12.2]) (push) Has been cancelled
Go Tests / test-bsds (map[name:openbsd version:6.8]) (push) Has been cancelled

This commit is contained in:
2026-04-03 09:52:15 -04:00
parent e0673b084b
commit 6b93ac0d78
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ func GetCacheDurationSecondsForPath(filePath string) int {
defaultDaysCached := 30
if filename == "thumbnail.jpg" || filename == "preview.gif" {
if filename == "thumbnail.jpg" || filename == "preview.gif" || filename == "init.mp4" {
// Thumbnails & preview gif re-generate during live
return 20
}