diff --git a/handlers/event_stream_handler.go b/handlers/event_stream_handler.go index 27a1f98..62f1ec2 100644 --- a/handlers/event_stream_handler.go +++ b/handlers/event_stream_handler.go @@ -41,7 +41,7 @@ func (h *EventStreamHandler) EventStream(w http.ResponseWriter, req *http.Reques flusher.Flush() eventID := 0 - errChan := make(chan error) + errChan := make(chan error, 1) eventChan := make(chan receptor.Event) for {