Fix map view on node details

This commit is contained in:
Daniel Pupius
2025-04-25 10:27:44 -07:00
parent 5b5dad7a68
commit acaeeaf495
6 changed files with 86 additions and 15 deletions

View File

@@ -155,9 +155,6 @@ func (s *Server) handleStream(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "event: padding\ndata: %s\n\n", padding)
flusher.Flush()
// Log that we sent the large initial message
logger.Debug("Sent large initial message to force buffer flush")
// Stream messages to the client
for {
select {
@@ -204,8 +201,6 @@ func (s *Server) handleStream(w http.ResponseWriter, r *http.Request) {
return
}
logger.Info("Sending packet to client", "packetID", packet.Data.Id)
// Send the event
fmt.Fprintf(w, "event: message\ndata: %s\n\n", data)
flusher.Flush()