mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-03 14:32:15 +02:00
Merge pull request #240 from danxuliu/fix-signaling-server-messages-total-stat-not-being-incremented
Fix "signaling_server_messages_total" stat not being incremented
This commit is contained in:
commit
7e40df3592
2
hub.go
2
hub.go
|
@ -816,6 +816,8 @@ func (h *Hub) processMessage(client *Client, data []byte) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
statsMessagesTotal.WithLabelValues(message.Type).Inc()
|
||||||
|
|
||||||
session := client.GetSession()
|
session := client.GetSession()
|
||||||
if session == nil {
|
if session == nil {
|
||||||
if message.Type != "hello" {
|
if message.Type != "hello" {
|
||||||
|
|
Loading…
Reference in a new issue