Skip to content

Commit 3ae408a

Browse files
dewitt4Copilot
andauthored
Update pkg/observability/web_websocket.go
Co-authored-by: Copilot <[email protected]>
1 parent 2316114 commit 3ae408a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/observability/web_websocket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ func (wd *WebDashboard) sendMetricsToConnection(conn *websocket.Conn) {
206206
"data": metrics,
207207
}
208208

209-
wd.broadcastToAllConnections(message)
209+
wd.sendToConnection(conn, message)
210210
}
211211

212212
// sendToConnection sends a message to a specific WebSocket connection

0 commit comments

Comments
 (0)