diff --git a/tools/tools.go b/tools/tools.go index 5e1e77b..13ff9e5 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -55,7 +55,6 @@ func SseWrapper(emitter DataEmitter) http.HandlerFunc { case <-r.Context().Done(): return case <-time.After(time.Second * 10): - fmt.Println("ping") SSEPing(w) case m := <-dE: fmt.Println("datatatata", m) @@ -75,7 +74,6 @@ func SseWrapper(emitter DataEmitter) http.HandlerFunc { } flusher.Flush() - return } line, err := json.Marshal(m) if err != nil {