Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e477bf5 authored by Tej Singh's avatar Tej Singh
Browse files

Increase stats hardware rpc threadpool.

Increase the threadpool count to 4.

Test: builds, boots
Test: adb shell cmd stats pull-source 10020 returns a battery capcity
Bug: 139453643
Merged-In: I2929fd6ca300781e67dde97d6196939d7928b350
Change-Id: I2929fd6ca300781e67dde97d6196939d7928b350
(cherry picked from commit 3174c0da)
parent 402c7bb5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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*/);