Increase number of workers to improve performance

pull/10/head
michal.szwaj 2018-02-15 20:02:27 +01:00
parent 4ce436b2f1
commit ce6f53c3e8
1 changed files with 2 additions and 0 deletions

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);
}
}