diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/options/options.go | 8 |
1 files changed, 4 insertions, 4 deletions
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 |