diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-06-01 16:49:22 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-06-01 16:49:22 +0200 |
| commit | 8946d2991a9271861f02f352270b05f7fe7c41fe (patch) | |
| tree | 78c293557dd4e90210a366d34c6f5803256ac726 | |
| parent | 71a6ce24cfb000f27d7133bb00dbba860a2320b7 (diff) | |
| download | nissy-8946d2991a9271861f02f352270b05f7fe7c41fe.tar.gz nissy-8946d2991a9271861f02f352270b05f7fe7c41fe.zip | |
Changed default number of threads for gen
| -rw-r--r-- | doc/nissy.1 | 3 | ||||
| -rw-r--r-- | src/commands.c | 2 |
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 |
| 64 | is specified, | 64 | is specified, |
| 65 | .Ar N | 65 | .Ar N |
| 66 | CPU threads will be used (defaults to 1). | 66 | CPU threads will be used (defaults to 64, use less only if you don't want |
| 67 | nissy to use all of your CPU resources). | ||
| 67 | . | 68 | . |
| 68 | .It Nm help Op Ar command | 69 | .It Nm help Op Ar command |
| 69 | Display help. If no | 70 | Display 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) { |
