Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt
2025-04-02 17:52:10 +02:00
parent 3c1512028d
commit e89659fe71
44 changed files with 169 additions and 102 deletions

View File

@ -108,6 +108,7 @@ func NewWebServer() *WebServer {
func (ws *WebServer) Start() {
go ws.runMetricsServer()
go ws.attemptStartBackend()
go ws.attemptStartWorker()
go ws.listenPlain()
go ws.listenTLS()
}
@ -137,6 +138,12 @@ func (ws *WebServer) attemptStartBackend() {
}
}
func (ws *WebServer) attemptStartWorker() {
if ws.worker == nil {
return
}
}
func (ws *WebServer) Core() *gounicorn.GoUnicorn {
return ws.g
}