aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/main.cpp
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2017-11-14 18:06:35 +0900
committerstoffu <stoffu@protonmail.ch>2017-11-16 08:03:25 +0900
commit617123841638cf6ee68c42954ea72985185465c0 (patch)
tree27be8593cae57d0a181b977d0f672e9f7181fa52 /src/daemon/main.cpp
parentMerge pull request #2818 (diff)
downloadmonero-617123841638cf6ee68c42954ea72985185465c0.tar.xz
daemon & simplewallet: don't set max-concurrency when unspecified
Diffstat (limited to 'src/daemon/main.cpp')
-rw-r--r--src/daemon/main.cpp2
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