From f769e88e6d057c87c332a2713c432c353f1fb678 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Fri, 21 Feb 2020 14:21:32 +1100 Subject: [PATCH] taskmanager: restore one task per thread at idlepriority --- app/task/taskmanager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/task/taskmanager.cpp b/app/task/taskmanager.cpp index e7903e6f2..8feb88f95 100644 --- a/app/task/taskmanager.cpp +++ b/app/task/taskmanager.cpp @@ -29,8 +29,7 @@ TaskManager::TaskManager() : active_thread_count_(0) { // Initialize threads to run tasks on - //threads_.resize(QThread::idealThreadCount()); - threads_.resize(1); + threads_.resize(QThread::idealThreadCount()); for (int i=0;i