fixed potential goroutine deadlock in message queue

This commit is contained in:
2024-05-16 10:10:42 +02:00
parent ace6621d4a
commit f5f0af7e1e
2 changed files with 27 additions and 30 deletions

View File

@@ -88,8 +88,8 @@ func RunBlocking(cfg *RunConfig) {
}
mq := internal.NewMessageQueue(logger)
mq.SetupConsumers()
go mq.Subscriber()
go mdb.Restore(mq, logger)
srv := newServer(serverConfig{