mirror of
https://github.com/owncast/owncast.git
synced 2024-11-27 17:59:21 +03:00
fix(video): fix local storage cleanup job to use new stream id
This commit is contained in:
parent
6aacd7bfce
commit
66d4bb2321
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue