More work on file storage
Some checks failed
/ docker (push) Failing after 1m48s

This commit is contained in:
Melody Becker 2025-06-16 17:01:15 +02:00
parent 8e6f814ba4
commit e317da1b66
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
6 changed files with 106 additions and 18 deletions

View file

@ -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{}