main
DustyP 9 months ago
parent 3b19054ead
commit c80fc08536

@ -442,7 +442,6 @@ func (s *Server) handleEvents() http.HandlerFunc {
}()
// Keep connection open and send events as they arrive
go func() {
for {
select {
case msg, ok := <-clientChan:
@ -457,7 +456,6 @@ func (s *Server) handleEvents() http.HandlerFunc {
return
}
}
}()
}
}
@ -505,7 +503,6 @@ func (s *Server) handleAdminEvents() http.HandlerFunc {
}()
// Keep connection open and send events as they arrive
go func() {
for {
select {
case msg, ok := <-clientChan:
@ -520,7 +517,6 @@ func (s *Server) handleAdminEvents() http.HandlerFunc {
return
}
}
}()
}
}

Loading…
Cancel
Save