This commit is contained in:
parent
8e6f814ba4
commit
e317da1b66
6 changed files with 106 additions and 18 deletions
5
main.go
5
main.go
|
@ -5,6 +5,7 @@ import (
|
|||
"embed"
|
||||
"flag"
|
||||
"fmt"
|
||||
"git.mstar.dev/mstar/linstrom/media"
|
||||
"net/http"
|
||||
"os"
|
||||
"os/signal"
|
||||
|
@ -103,6 +104,10 @@ func newServer() {
|
|||
if err = storagenew.InsertUnknownActorPlaceholder(); err != nil {
|
||||
log.Fatal().Err(err).Msg("Failed to insert self properly")
|
||||
}
|
||||
|
||||
log.Info().Msg("Connecting to s3 storage and transcoder")
|
||||
_, err = media.NewServer()
|
||||
|
||||
debugShutdownChan := make(chan *sync.WaitGroup, 1)
|
||||
interuptChan := make(chan os.Signal, 1)
|
||||
debugShutdownWaitgroup := sync.WaitGroup{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue