diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-11-25 19:51:52 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-11-25 19:51:52 +0200 |
commit | fbfdaae06f0c9660fa889a3edcb21faca753f78d (patch) | |
tree | e8e806b2559a579103fc6cc5e59d5b2f6a084e43 /src/daemon | |
parent | Merge pull request #2806 (diff) | |
parent | daemon & simplewallet: don't set max-concurrency when unspecified (diff) | |
download | monero-fbfdaae06f0c9660fa889a3edcb21faca753f78d.tar.xz |
Merge pull request #2807
61712384 daemon & simplewallet: don't set max-concurrency when unspecified (stoffu)
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index ae83943b6..d038cc825 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -278,7 +278,7 @@ int main(int argc, char const * argv[]) tools::set_stack_trace_log(log_file_path.filename().string()); #endif // STACK_TRACE - if (command_line::has_arg(vm, daemon_args::arg_max_concurrency)) + if (!command_line::is_arg_defaulted(vm, daemon_args::arg_max_concurrency)) tools::set_max_concurrency(command_line::get_arg(vm, daemon_args::arg_max_concurrency)); // logging is now set up |