summaryrefslogtreecommitdiff
path: root/constants/constants.go
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2022-06-13 19:53:44 -0400
committerGitHub <[email protected]>2022-06-13 19:53:44 -0400
commit144a5dad1f30d538cefd1ed0904c00fc29c3d9c4 (patch)
tree223491fac01200e49302b477e512b5f7ebccf2ae /constants/constants.go
parentc93a4dedc897f84992a6a34200fe954ba2ca435d (diff)
parenta32ace3c60721d1bae4ea77117ffd14a35b0f951 (diff)
Merge pull request #25 from network-quality/timeout-patch
Timeout patch
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