From 9b84f21daf8196c883ede8f50c99c479b3ef0cbb Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 1 Apr 2023 10:12:42 +0200 Subject: Rip out -c and -C Helpful for systemd-resolved issue, but unlikely to help if the issue is e.g. recursive DNS resolver that drops look-ups as -c will be cached. --- internal/options/options.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'internal/options') diff --git a/internal/options/options.go b/internal/options/options.go index 3d03e19..9a9a38c 100644 --- a/internal/options/options.go +++ b/internal/options/options.go @@ -18,8 +18,6 @@ type Options struct { MaxResponse int64 // Health and metrics - CheckerDomain string - CheckerInterval time.Duration MetricsInterval time.Duration Limit int } @@ -34,8 +32,6 @@ func Parse() (opts Options) { flag.DurationVar(&opts.Timeout, "t", 10*time.Second, "timeout for each website visit") flag.Int64Var(&opts.MaxResponse, "r", 128, "max response body size to accept in MiB") - flag.StringVar(&opts.CheckerDomain, "c", "", "domain with onion location for setup santity-checks") - flag.DurationVar(&opts.CheckerInterval, "C", 10*time.Second, "how often to to run checker") flag.DurationVar(&opts.MetricsInterval, "m", 5*time.Second, "how often to emit metrics") flag.IntVar(&opts.Limit, "l", 16, "rate-limit that kicks in before handing out work in requests/s") -- cgit v1.2.3