From 1580c3a57401a7998957300d6e8fbb56b077be6c Mon Sep 17 00:00:00 2001 From: selsta Date: Fri, 29 May 2020 13:58:53 +0200 Subject: [PATCH] DaemonManager: remove max-concurrency upper bound --- src/daemon/DaemonManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/DaemonManager.cpp b/src/daemon/DaemonManager.cpp index bb72e66c..9a7755fc 100644 --- a/src/daemon/DaemonManager.cpp +++ b/src/daemon/DaemonManager.cpp @@ -114,8 +114,8 @@ bool DaemonManager::start(const QString &flags, NetworkType::Type nettype, const arguments << "--check-updates" << "disabled"; - // --max-concurrency based on threads available. max: 6 - int32_t concurrency = qBound(1, QThread::idealThreadCount() / 2, 6); + // --max-concurrency based on threads available. + int32_t concurrency = qMax(1, QThread::idealThreadCount() / 2); if(!flags.contains("--max-concurrency", Qt::CaseSensitive)){ arguments << "--max-concurrency" << QString::number(concurrency);