From c8f9b3337ee493ea1ac56d70a1a53ab9442121b9 Mon Sep 17 00:00:00 2001 From: JJ <60529194+Schickendantzj@users.noreply.github.com> Date: Mon, 13 Jun 2022 11:34:19 -0400 Subject: Add optional timeouts --- constants/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'constants') diff --git a/constants/constants.go b/constants/constants.go index a015f14..635aef7 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -20,7 +20,7 @@ var ( // The number of probes to send when calculating RTT. MeasurementProbeCount int = 5 // The amount of time that we give ourselves to calculate the RPM. - RPMCalculationTime time.Duration = 10 * time.Second + RPMCalculationTime int = 10 // The default amount of time that a test will take to calculate the RPM. DefaultTestTime int = 20 -- cgit v1.2.3