mirror of
https://github.com/livekit/livekit.git
synced 2026-07-10 01:22:29 +00:00
fix panic
This commit is contained in:
@@ -330,7 +330,7 @@ func IncrementParticipantJoinWriteInitialResponseFail(writeInitialResponseFail u
|
||||
func IncrementParticipantRtcInit(init uint32) {
|
||||
if init > 0 {
|
||||
participantRTCInit.Add(uint64(init))
|
||||
promParticipantJoin.WithLabelValues("rtc_init").Add(float64(init))
|
||||
promParticipantJoin.WithLabelValues("rtc_init", "").Add(float64(init))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user