summaryrefslogtreecommitdiff
path: root/constants/constants.go
diff options
context:
space:
mode:
authorJJ <[email protected]>2022-06-13 11:34:19 -0400
committerJJ <[email protected]>2022-06-13 11:34:19 -0400
commitc8f9b3337ee493ea1ac56d70a1a53ab9442121b9 (patch)
tree3e62d93c8facfb4e8565d3586f9694b3aefb2e66 /constants/constants.go
parentbce8d0a53c56816e6b5acd4e0c9b53514981910a (diff)
Add optional timeouts
Diffstat (limited to 'constants/constants.go')
-rw-r--r--constants/constants.go2
1 files changed, 1 insertions, 1 deletions
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