From 0c4a6e96ae41900dab5b4b7c83cbd837223caf2e Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Mon, 3 Apr 2023 00:08:10 +0200 Subject: Set quick default values To not use for a serious measurement. --- internal/options/options.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'internal') diff --git a/internal/options/options.go b/internal/options/options.go index e98d6eb..4c2d342 100644 --- a/internal/options/options.go +++ b/internal/options/options.go @@ -16,10 +16,10 @@ type Options struct { func Parse() (opts Options) { flag.StringVar(&opts.InputFile, "i", "", "input file, one domain name per line") - flag.IntVar(&opts.NumWorkers, "w", 32, "number of parallel workers") - flag.IntVar(&opts.Limit, "l", 16, "rate-limit that kicks in before handing out work in requests/s") - flag.Int64Var(&opts.MaxResponse, "r", 128, "max response body size to accept in MiB") - flag.DurationVar(&opts.Timeout, "t", 10*time.Second, "timeout for each website visit") + flag.IntVar(&opts.NumWorkers, "w", 128, "number of parallel workers") + flag.IntVar(&opts.Limit, "l", 64, "rate-limit that kicks in before handing out work in requests/s") + flag.Int64Var(&opts.MaxResponse, "r", 16, "max response body size to accept in MiB") + flag.DurationVar(&opts.Timeout, "t", 5*time.Second, "timeout for each website visit") flag.DurationVar(&opts.MetricsInterval, "m", 5*time.Second, "how often to emit metrics") flag.Parse() return -- cgit v1.2.3