From ec2ccf69d8b08abb03fa3bdb3e7e95ae1862d619 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Tue, 23 May 2023 17:58:14 -0400 Subject: Major Update/Refactor to Support IETF 02 Beginning of a release candidate for support for IETF 02 tag of the responsiveness spec. --- constants/constants.go | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'constants') diff --git a/constants/constants.go b/constants/constants.go index 66f7110..7a8d562 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -35,8 +35,6 @@ var ( // The amount of time that the client will cooldown if it is in debug mode. CooldownPeriod time.Duration = 4 * time.Second - // The amount of time that we give ourselves to calculate the RPM. - RPMCalculationTime int = 10 // The default amount of time that a test will take to calculate the RPM. DefaultTestTime int = 20 @@ -49,3 +47,15 @@ var ( // The default determination of whether to verify server certificates DefaultInsecureSkipVerify bool = true ) + +type SpecParametersCliOptions struct { + Mad int + Id int + Tmp uint + Sdt float64 + Mnp int + Mps int + Ptc float64 +} + +var SpecParameterCliOptionsDefaults = SpecParametersCliOptions{Mad: 4, Id: 1, Tmp: 5, Sdt: 5.0, Mnp: 16, Mps: 100, Ptc: 0.05} -- cgit v1.2.3