mirror of
https://github.com/owncast/owncast.git
synced 2024-10-22 20:45:58 +03:00
Troubleshooting race condition
This commit is contained in:
parent
e63d0656ba
commit
02692befc6
1 changed files with 4 additions and 3 deletions
7
main.go
7
main.go
|
@ -37,18 +37,19 @@ func main() {
|
|||
usingExternalStorage = true
|
||||
}
|
||||
|
||||
resetDirectories(configuration)
|
||||
|
||||
if usingExternalStorage {
|
||||
storage.Setup(configuration)
|
||||
go monitorVideoContent(configuration.PrivateHLSPath, configuration, storage)
|
||||
}
|
||||
|
||||
resetDirectories(configuration)
|
||||
go startRTMPService()
|
||||
|
||||
startChatServer()
|
||||
startWebServer()
|
||||
}
|
||||
|
||||
func startChatServer() {
|
||||
func startWebServer() {
|
||||
// log.SetFlags(log.Lshortfile)
|
||||
|
||||
// websocket server
|
||||
|
|
Loading…
Reference in a new issue