This commit is contained in:
henrygd
2026-04-22 19:40:21 -04:00
parent 1c5808f430
commit 8f03cbf11c
2 changed files with 108 additions and 1 deletions

View File

@@ -199,7 +199,6 @@ func (pm *ProbeManager) GetResults(durationMs uint16) map[string]probe.Result {
for key, task := range pm.probes {
task.mu.Lock()
agg := task.aggregateLocked(duration, now)
// The live request window still controls avg/loss, but the range fields are always 1h.
hourAgg := task.aggregateLocked(time.Hour, now)
task.mu.Unlock()