This change lowers the levels of a few log messages in an attempt
to bring them more in line with the severity of the actual message.
Этот коммит содержится в:
Gabe Jackson
2019-05-21 13:57:26 -04:00
коммит произвёл Christopher Speller
родитель f8a89a52fc
Коммит 8c048a6604
3 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@@ -200,9 +200,9 @@ func (c *WebConn) writePump() {
if len(c.Send) >= SEND_DEADLOCK_WARN {
if evtOk {
mlog.Error(fmt.Sprintf("websocket.full: message userId=%v type=%v channelId=%v size=%v", c.UserId, msg.EventType(), evt.Broadcast.ChannelId, len(msg.ToJson())))
mlog.Warn(fmt.Sprintf("websocket.full: message userId=%v type=%v channelId=%v size=%v", c.UserId, msg.EventType(), evt.Broadcast.ChannelId, len(msg.ToJson())))
} else {
mlog.Error(fmt.Sprintf("websocket.full: message userId=%v type=%v size=%v", c.UserId, msg.EventType(), len(msg.ToJson())))
mlog.Warn(fmt.Sprintf("websocket.full: message userId=%v type=%v size=%v", c.UserId, msg.EventType(), len(msg.ToJson())))
}
}