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
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:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user