- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newSRStats (0.2 sec)
-
cmd/site-replication-metrics.go
func (srs *SRStatus) updateXferRate(sz int64, duration time.Duration) { if sz > minLargeObjSize { srs.XferRateLrg.addSize(sz, duration) } else { srs.XferRateSml.addSize(sz, duration) } } func newSRStats() *SRStats { s := SRStats{ M: make(map[string]*SRStatus), movingAvgTicker: time.NewTicker(time.Second * 2), } go s.trackEWMA() return &s } func (sr *SRStats) trackEWMA() {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.2K bytes - Viewed (0)