diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-04-29 10:43:48 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-04-29 10:43:48 +0200 |
commit | 5b734c2a3acfc8580cdc2e19942a3d4a043cc830 (patch) | |
tree | ab37a04721f4d5c1041b77a480f8b59d5b7d9387 /src/daemon/command_line_args.h | |
parent | Merge pull request #824 (diff) | |
parent | add a --max-concurrency flag (diff) | |
download | monero-5b734c2a3acfc8580cdc2e19942a3d4a043cc830.tar.xz |
Merge pull request #825
513a658 add a --max-concurrency flag (moneromooo-monero)
Diffstat (limited to 'src/daemon/command_line_args.h')
-rw-r--r-- | src/daemon/command_line_args.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/command_line_args.h b/src/daemon/command_line_args.h index 2dca5e3e7..1fe2ddcf6 100644 --- a/src/daemon/command_line_args.h +++ b/src/daemon/command_line_args.h @@ -59,6 +59,11 @@ namespace daemon_args "os-version" , "OS for which this executable was compiled" }; + const command_line::arg_descriptor<unsigned> arg_max_concurrency = { + "max-concurrency" + , "Max number of threads to use for a parallel job" + , 0 + }; } // namespace daemon_args #endif // DAEMON_COMMAND_LINE_ARGS_H |