Tweak to previous commit: I didn't intend to filter out no-RTT

hosts from the top downloaders list, since they might be
non-TCP traffic.
This commit is contained in:
Herbert Wolverson 2023-02-24 15:02:57 +00:00
parent 6b82fd968e
commit 1f5629a8c3

View File

@ -74,7 +74,6 @@ pub fn top_n(start: u32, end: u32) -> BusResponse {
.iter()
.filter(|(ip, _)| !ip.as_ip().is_loopback())
.filter(|(_, d)| retire_check(tp.cycle, d.most_recent_cycle))
.filter(|(_, te)| te.median_latency() > 0.0)
.map(|(ip, te)| {
(
*ip,