Check the header version on arrival and say what the error window actually spans

This commit is contained in:
flamingcow
2026-08-04 21:29:03 -07:00
parent 49de171ad0
commit 01d673dc83
2 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -541,8 +541,8 @@ const (
// Deliberately not tied to the refresh: letting a slow or blocked draw set
// the sampling clock would stretch the window it reports.
sampleInterval = 16 * time.Millisecond
// How far back the shown errors reach and how many buckets the median runs
// over, so a step in the rate lands half this late.
// How far back the shown errors reach. The rate is not taken from this ring
// but from the receive buckets, which are keyed by the mac's clock.
rateWindowSpan = time.Second
)