diff options
author | stoffu <stoffu@protonmail.ch> | 2017-11-14 18:06:35 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2017-11-16 08:03:25 +0900 |
commit | 617123841638cf6ee68c42954ea72985185465c0 (patch) | |
tree | 27be8593cae57d0a181b977d0f672e9f7181fa52 /src/wallet/wallet_args.cpp | |
parent | Merge pull request #2818 (diff) | |
download | monero-617123841638cf6ee68c42954ea72985185465c0.tar.xz |
daemon & simplewallet: don't set max-concurrency when unspecified
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet_args.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_args.cpp b/src/wallet/wallet_args.cpp index cc6bb1de2..e665042d4 100644 --- a/src/wallet/wallet_args.cpp +++ b/src/wallet/wallet_args.cpp @@ -178,7 +178,7 @@ namespace wallet_args mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str()); } - if(command_line::has_arg(vm, arg_max_concurrency)) + if (!command_line::is_arg_defaulted(vm, arg_max_concurrency)) tools::set_max_concurrency(command_line::get_arg(vm, arg_max_concurrency)); Print(print) << "Monero '" << MONERO_RELEASE_NAME << "' (v" << MONERO_VERSION_FULL << ")"; |