summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Tej Singh <singhtejinder@google.com> 2019-09-04 16:58:32 -0700
committer android-build-merger <android-build-merger@google.com> 2019-09-04 16:58:32 -0700
commit77e90072719f620d8c8d5fd212d9c07b225398c3 (patch)
tree4d707041428af970aca2bddcd19888b5a1bfb534
parent9914485eab8f896dfb55649cecc57720779404c3 (diff)
parent2e477bf54bd273b74251236c5eb9d7c20775a989 (diff)
Increase stats hardware rpc threadpool.
am: 2e477bf54b Change-Id: I60b989a1e320e9f1317d6082d6175dcf29a0873f
-rw-r--r--cmds/statsd/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/statsd/src/main.cpp b/cmds/statsd/src/main.cpp
index 68082c2dc4d2..42132ee0daae 100644
--- a/cmds/statsd/src/main.cpp
+++ b/cmds/statsd/src/main.cpp
@@ -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*/);