Implement review suggestions

Improve logging, constants for routes, RWMutex for ExerciseRunners,
use url.URL for websocket url building
This commit is contained in:
Konrad Hanff
2021-05-05 11:35:16 +02:00
parent 07cdf17eb4
commit 52b80583b5
5 changed files with 55 additions and 62 deletions

View File

@@ -79,8 +79,6 @@ func main() {
environment.DebugInit(runnerPool, nomadAPIClient)
server := initServer(runnerPool)
log.WithField("address", server.Addr).Info("Starting server")
go runServer(server)
shutdownOnOSSignal(server)
}