Increase number of workers to improve performance

This commit is contained in:
michal.szwaj 2018-02-15 20:02:27 +01:00
parent 4ce436b2f1
commit ce6f53c3e8

View File

@ -91,6 +91,7 @@ void USBMain::startUSBWorkers()
threadPool_.emplace_back(usbWorker);
threadPool_.emplace_back(usbWorker);
threadPool_.emplace_back(usbWorker);
threadPool_.emplace_back(usbWorker);
}
void USBMain::startIOServiceWorkers()
@ -104,6 +105,7 @@ void USBMain::startIOServiceWorkers()
threadPool_.emplace_back(ioServiceWorker);
threadPool_.emplace_back(ioServiceWorker);
threadPool_.emplace_back(ioServiceWorker);
threadPool_.emplace_back(ioServiceWorker);
}
}