Cleaning up some logs and standardising log frequency. (#4420)

Removing some logs which have not been useful in terms of insights other
than saying that there are a bunch of packets missing. Going to start
looking at gaps in terms of time if the inter-packet gap is too high.

Also, using logging these events as first 20 and then every 200.
This commit is contained in:
Raja Subramanian
2026-04-01 21:17:43 +05:30
committed by GitHub
parent 7b92530461
commit 9674ac48ab
5 changed files with 44 additions and 190 deletions
+4
View File
@@ -550,4 +550,8 @@ func getPacketsExpected(extStartSN, extHighestSN uint64) uint64 {
return extHighestSN - extStartSN + 1
}
func shouldLog(count int) bool {
return count < 20 || count%200 == 0
}
// ----------------------------------