mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 20:23:29 +08:00
Some linter cleanup
This commit is contained in:
@ -14,7 +14,7 @@ import (
|
||||
// in the stream.
|
||||
func CleanupOldContent(baseDirectory string) {
|
||||
// Determine how many files we should keep on disk
|
||||
maxNumber := int(data.GetStreamLatencyLevel().SegmentCount)
|
||||
maxNumber := data.GetStreamLatencyLevel().SegmentCount
|
||||
buffer := 10
|
||||
|
||||
files, err := getAllFilesRecursive(baseDirectory)
|
||||
|
||||
Reference in New Issue
Block a user