Use workerpools to enforce FIFO without blocking other topics

This commit is contained in:
Dane Everitt
2020-09-12 20:13:59 -07:00
parent 53bd0d57ad
commit d02e37620d
3 changed files with 90 additions and 44 deletions

View File

@@ -198,7 +198,7 @@ func deleteServer(c *gin.Context) {
}
// Unsubscribe all of the event listeners.
s.Events().RemoveAll()
s.Events().Destroy()
// Destroy the environment; in Docker this will handle a running container and
// forcibly terminate it before removing the container, so we do not need to handle