From 1996be97aee50e29e937b3a20e4c2cca1db58eae Mon Sep 17 00:00:00 2001 From: Daniel Darabos Date: Wed, 18 Sep 2024 15:07:28 +0200 Subject: [PATCH] Use 1 hour as histogram maximum instead of 3.6 seconds. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a02f88b..b068a85 100644 --- a/src/main.rs +++ b/src/main.rs @@ -105,7 +105,7 @@ impl DrillStats { } fn compute_stats(sub_reports: &[Report]) -> DrillStats { - let mut hist = Histogram::::new_with_bounds(1, 60 * 60 * 1000, 2).unwrap(); + let mut hist = Histogram::::new_with_bounds(1, 60 * 60 * 1_000_000, 2).unwrap(); let mut group_by_status = HashMap::new(); for req in sub_reports {