Try to fix a race condition where a file is attempted to be moved and deleted at the same time
This commit is contained in:
2
main.go
2
main.go
@@ -25,6 +25,7 @@ func main() {
|
||||
log.StandardLogger().Printf("Owncast v%s/%s (%s)", BuildVersion, BuildType, GitCommit)
|
||||
|
||||
checkConfig(configuration)
|
||||
|
||||
stats = getSavedStats()
|
||||
stats.Setup()
|
||||
|
||||
@@ -38,7 +39,6 @@ func main() {
|
||||
|
||||
if usingExternalStorage {
|
||||
storage.Setup(configuration)
|
||||
// hlsDirectoryPath = configuration.PrivateHLSPath
|
||||
go monitorVideoContent(configuration.PrivateHLSPath, configuration, storage)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user