aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-06-01 16:49:22 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2022-06-01 16:49:22 +0200
commit8946d2991a9271861f02f352270b05f7fe7c41fe (patch)
tree78c293557dd4e90210a366d34c6f5803256ac726
parent71a6ce24cfb000f27d7133bb00dbba860a2320b7 (diff)
downloadnissy-8946d2991a9271861f02f352270b05f7fe7c41fe.tar.gz
nissy-8946d2991a9271861f02f352270b05f7fe7c41fe.zip
Changed default number of threads for gen
-rw-r--r--doc/nissy.13
-rw-r--r--src/commands.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/nissy.1 b/doc/nissy.1
index dfc18ed..5193b11 100644
--- a/doc/nissy.1
+++ b/doc/nissy.1
@@ -63,7 +63,8 @@ If
63.Ar N 63.Ar N
64is specified, 64is specified,
65.Ar N 65.Ar N
66CPU threads will be used (defaults to 1). 66CPU threads will be used (defaults to 64, use less only if you don't want
67nissy to use all of your CPU resources).
67. 68.
68.It Nm help Op Ar command 69.It Nm help Op Ar command
69Display help. If no 70Display help. If no
diff --git a/src/commands.c b/src/commands.c
index ed3d46a..048b74c 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -319,7 +319,7 @@ gen_parse_args(int c, char **v)
319 int val; 319 int val;
320 CommandArgs *a = new_args(); 320 CommandArgs *a = new_args();
321 321
322 a->opts->nthreads = 1; 322 a->opts->nthreads = 64;
323 a->success = false; 323 a->success = false;
324 324
325 if (c == 0) { 325 if (c == 0) {

Generated with cgit - Back to sebastiano.tronto.net