aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2023-03-30 16:34:16 +0200
committerRasmus Dahlberg <rasmus@rgdd.se>2023-03-30 16:34:38 +0200
commit55c8cb7e31eb838f529f43d64bc40cd4917b750d (patch)
treee645008c6cc071dc74114edd8cce387138a54d9e /internal
parent20dbfa1b1acefc10694fe0cdf467f9c65fb62550 (diff)
Tweak default options and info print
Diffstat (limited to 'internal')
-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