mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
fix(video): fix local storage cleanup job to use new stream id
This commit is contained in:
parent
6aacd7bfce
commit
66d4bb2321
@ -93,7 +93,7 @@ func (s *LocalStorage) Cleanup() error {
|
||||
// Determine how many files we should keep on disk
|
||||
maxNumber := data.GetStreamLatencyLevel().SegmentCount
|
||||
buffer := 10
|
||||
baseDirectory := config.HLSStoragePath
|
||||
baseDirectory := filepath.Join(config.HLSStoragePath, s.streamID)
|
||||
|
||||
files, err := getAllFilesRecursive(baseDirectory)
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user