Be more aggressive about tagging by having as many tag clients as cores.
This commit is contained in:
parent
24b4319504
commit
7058d238fb
|
@ -21,6 +21,7 @@
|
|||
#include <QFile>
|
||||
#include <QProcess>
|
||||
#include <QTcpServer>
|
||||
#include <QThread>
|
||||
#include <QUrl>
|
||||
|
||||
|
||||
|
@ -34,6 +35,7 @@ TagReaderClient::TagReaderClient(QObject* parent)
|
|||
sInstance = this;
|
||||
|
||||
worker_pool_->SetExecutableName(kWorkerExecutableName);
|
||||
worker_pool_->SetWorkerCount(QThread::idealThreadCount());
|
||||
connect(worker_pool_, SIGNAL(WorkerFailedToStart()), SLOT(WorkerFailedToStart()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue