summaryrefslogtreecommitdiff
path: root/constants/constants.go
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2022-05-13 11:02:09 -0400
committerWill Hawkins <[email protected]>2022-05-13 11:02:09 -0400
commit89f26501e59095e1e6ac59cf158f6305e4e93389 (patch)
tree3a34ea2fd09c0dc343d10c629c877d6b9fe8fdc7 /constants/constants.go
parentf0dcb55643612ab05137314b46ee66ccf9308a53 (diff)
[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).
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 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