Add the ability to fetch all servers, fix cpu usage leak again..

This commit is contained in:
Matthew Penner
2020-04-10 15:39:07 -06:00
parent e719c67e0b
commit 28c8f3f400
11 changed files with 87 additions and 76 deletions

View File

@@ -20,7 +20,7 @@ func getServerWebsocket(c *gin.Context) {
defer handler.Connection.Close()
// Create a context that can be canceled when the user disconnects from this
// socket that will also cancel listeners running in seperate threads.
// socket that will also cancel listeners running in separate threads.
ctx, cancel := context.WithCancel(context.Background())
defer cancel()