From 89f26501e59095e1e6ac59cf158f6305e4e93389 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Fri, 13 May 2022 11:02:09 -0400 Subject: [Refactor] Create config package and package-ify saturate() 1. Create a separate package to handle the config information. 2. Move the saturate functionality into the rpm package. 3. Do general renaming/refactoring so that we are consistently saying measurement and not RTT (this nomenclature is more consistent with the standard). --- constants/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'constants/constants.go') diff --git a/constants/constants.go b/constants/constants.go index 2f906b6..147b643 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -18,7 +18,7 @@ var ( // The amount of time that the client will cooldown if it is in debug mode. CooldownPeriod time.Duration = 4 * time.Second // The number of probes to send when calculating RTT. - RPMProbeCount int = 5 + MeasurementProbeCount int = 5 // The amount of time that we give ourselves to calculate the RPM. RPMCalculationTime time.Duration = 10 * time.Second -- cgit v1.2.3