1
0

Also return a current peak listeners number.

This commit is contained in:
Alexander Andreev 2024-05-11 04:38:08 +04:00
parent cf90bba297
commit 08203c4be0
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -86,8 +86,10 @@ func (l *ListenerCounter) MarshalJSON() ([]byte, error) {
Current int64 `json:"current"` Current int64 `json:"current"`
Peak int64 `json:"peak"` Peak int64 `json:"peak"`
Overall int64 `json:"overall"` Overall int64 `json:"overall"`
CurPeak int64 `json:"current_peak"`
}{ }{
Current: l.current, Current: l.current,
Peak: l.peak, Peak: l.peak,
Overall: l.overall}) Overall: l.overall,
CurPeak: l.cur_peak})
} }