Increase stats hardware rpc threadpool.

am: 2e477bf54b

Change-Id: I0f841d5f4c48d28cf72548b77c7ca3e0b62aef5f
This commit is contained in:
Tej Singh
2019-09-04 16:59:13 -07:00
committed by android-build-merger

View File

@@ -78,7 +78,7 @@ int main(int /*argc*/, char** /*argv*/) {
ps->giveThreadPoolName();
IPCThreadState::self()->disableBackgroundScheduling(true);
::android::hardware::configureRpcThreadpool(1 /*threads*/, false /*willJoin*/);
::android::hardware::configureRpcThreadpool(4 /*threads*/, false /*willJoin*/);
std::shared_ptr<LogEventQueue> eventQueue =
std::make_shared<LogEventQueue>(2000 /*buffer limit. Buffer is NOT pre-allocated*/);