commit 8946d2991a9271861f02f352270b05f7fe7c41fe
parent 71a6ce24cfb000f27d7133bb00dbba860a2320b7
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Wed, 1 Jun 2022 16:49:22 +0200
Changed default number of threads for gen
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/doc/nissy.1 b/doc/nissy.1
@@ -63,7 +63,8 @@ If
.Ar N
is specified,
.Ar N
-CPU threads will be used (defaults to 1).
+CPU threads will be used (defaults to 64, use less only if you don't want
+nissy to use all of your CPU resources).
.
.It Nm help Op Ar command
Display help. If no
diff --git a/src/commands.c b/src/commands.c
@@ -319,7 +319,7 @@ gen_parse_args(int c, char **v)
int val;
CommandArgs *a = new_args();
- a->opts->nthreads = 1;
+ a->opts->nthreads = 64;
a->success = false;
if (c == 0) {