fix panic

This commit is contained in:
cnderrauber
2026-07-08 10:20:45 +08:00
parent 75843014f0
commit cede114c76
+1 -1
View File
@@ -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))
}
}