Allow 4 tagreader workers

This commit is contained in:
Jonas Kvinge
2019-11-27 22:57:51 +01:00
parent c1ec568fda
commit 793f6b00e6
2 changed files with 2 additions and 2 deletions

View File

@@ -159,7 +159,7 @@ WorkerPool<HandlerType>::WorkerPool(QObject *parent)
next_worker_(0),
next_id_(0) {
worker_count_ = qBound(1, QThread::idealThreadCount() / 2, 2);
worker_count_ = qBound(1, QThread::idealThreadCount() / 2, 4);
local_server_name_ = qApp->applicationName().toLower();
if (local_server_name_.isEmpty())