aboutsummaryrefslogtreecommitdiff
path: root/internal/options/options.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/options/options.go')
-rw-r--r--internal/options/options.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/options/options.go b/internal/options/options.go
index 9e1a653..3d03e19 100644
--- a/internal/options/options.go
+++ b/internal/options/options.go
@@ -30,14 +30,14 @@ func Parse() (opts Options) {
flag.Int64Var(&opts.StartLineInclusive, "s", 0, "first line to read in input file, inclusive and zero-based index")
flag.Int64Var(&opts.EndLineExclusive, "e", 0, "last line to read in input file, exclusive and zero-based; 0 to disable")
- flag.IntVar(&opts.NumWorkers, "w", 2, "number of parallel workers")
+ flag.IntVar(&opts.NumWorkers, "w", 32, "number of parallel workers")
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", 10, "rate-limit that kicks in before feeding workers in reads/s")
+ flag.IntVar(&opts.Limit, "l", 16, "rate-limit that kicks in before handing out work in requests/s")
flag.Parse()
return