mirror of https://github.com/f1xpl/openauto.git
Increase number of workers to improve performance
parent
4ce436b2f1
commit
ce6f53c3e8
|
@ -91,6 +91,7 @@ void USBMain::startUSBWorkers()
|
||||||
threadPool_.emplace_back(usbWorker);
|
threadPool_.emplace_back(usbWorker);
|
||||||
threadPool_.emplace_back(usbWorker);
|
threadPool_.emplace_back(usbWorker);
|
||||||
threadPool_.emplace_back(usbWorker);
|
threadPool_.emplace_back(usbWorker);
|
||||||
|
threadPool_.emplace_back(usbWorker);
|
||||||
}
|
}
|
||||||
|
|
||||||
void USBMain::startIOServiceWorkers()
|
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);
|
||||||
threadPool_.emplace_back(ioServiceWorker);
|
threadPool_.emplace_back(ioServiceWorker);
|
||||||
|
threadPool_.emplace_back(ioServiceWorker);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue