code refactor

This commit is contained in:
2023-07-26 09:51:00 +02:00
parent 49ded2e0f6
commit 82b22db7ae
2 changed files with 8 additions and 8 deletions

View File

@@ -28,10 +28,9 @@ func RunBlocking(port int, frontend fs.FS) {
db.Restore()
mq := internal.NewMessageQueue()
go mq.SetupConsumer()
go mq.Subscriber()
service := ytdlpRPC.Container(&db, mq)
rpc.Register(service)
app := fiber.New()