summaryrefslogtreecommitdiff
path: root/constants/constants.go
diff options
context:
space:
mode:
authorRich Brown <[email protected]>2022-06-05 08:22:42 -0400
committerGitHub <[email protected]>2022-06-05 08:22:42 -0400
commit5d7a55ebed54724233aa0b9b417643b9fc91a352 (patch)
tree26659fa5abd090ac83bb49e5cb8c2de4efc01853 /constants/constants.go
parentf97d4a8753d0df65704dcaf46dbc30de9d8898b7 (diff)
parentd06438ff7414abfcc5a2a1bd13a935ee594f0842 (diff)
Merge branch 'network-quality:main' into main
Diffstat (limited to 'constants/constants.go')
-rw-r--r--constants/constants.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/constants/constants.go b/constants/constants.go
index 1a060dd..a015f14 100644
--- a/constants/constants.go
+++ b/constants/constants.go
@@ -9,7 +9,7 @@ var (
// calculation.
MovingAverageIntervalCount int = 4
// The number of intervals across which to consider a moving average stable.
- MovingAverageStabilitySpan int = 4
+ MovingAverageStabilitySpan uint64 = 4
// The number of connections to add to a LBC when unsaturated.
AdditiveNumberOfLoadGeneratingConnections uint64 = 4
// The cutoff of the percent difference that defines instability.
@@ -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
@@ -30,4 +30,7 @@ var (
DefaultDebug bool = false
// The default URL for the config host.
DefaultConfigHost string = "networkquality.example.com"
+
+ // The default decision about whether to run the test in strict mode.
+ DefaultStrict bool = false
)