[MM-63693] Don't log PING websocket events (#30669)

This commit is contained in:
David Krauser
2025-04-10 16:24:23 -04:00
committed by GitHub
parent a534370010
commit f53625d59f
+4 -1
View File
@@ -23,7 +23,10 @@ type webSocketHandler struct {
}
func (wh webSocketHandler) ServeWebSocket(conn *platform.WebConn, r *model.WebSocketRequest) {
mlog.Debug("Websocket request", mlog.String("action", r.Action))
// Don't log ping requests to reduce log noise
if r.Action != "ping" {
mlog.Debug("Websocket request", mlog.String("action", r.Action))
}
hub := wh.app.Srv().Platform().GetHubForUserId(conn.UserId)
if hub == nil {