Add worker debug

This commit is contained in:
Jonas Kvinge 2020-12-24 20:44:16 +01:00
parent cb5222e4d6
commit 1b140535a8

View File

@ -240,10 +240,15 @@ void WorkerPool<HandlerType>::DoStart() {
const QString executable_path = path_prefix + "/" + executable_name_;
if (QFile::exists(executable_path)) {
executable_path_ = executable_path;
qLog(Debug) << "Using worker" << executable_name_ << "from" << path_prefix;
break;
}
}
if (executable_path_ == executable_name_) {
qLog(Debug) << "Using worker" << executable_name_;
}
// Start all the workers
for (int i = 0; i < worker_count_; ++i) {
Worker worker;