From 8d7b3f43988f40976c540e64f955fabe3d14d755 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Wed, 17 Aug 2022 22:05:10 -0400 Subject: Remove the -strict option We never really implemented it any way! --- constants/constants.go | 3 --- networkQuality.go | 5 ----- 2 files changed, 8 deletions(-) diff --git a/constants/constants.go b/constants/constants.go index 635aef7..be18453 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -30,7 +30,4 @@ 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 ) diff --git a/networkQuality.go b/networkQuality.go index 73f87de..f20ca7d 100644 --- a/networkQuality.go +++ b/networkQuality.go @@ -56,11 +56,6 @@ var ( constants.DefaultDebug, "Enable debugging.", ) - strictFlag = flag.Bool( - "strict", - constants.DefaultStrict, - "Whether to run the test in strict mode (measure HTTP get time on load-generating connection)", - ) sattimeout = flag.Int( "sattimeout", constants.DefaultTestTime, -- cgit v1.2.3