Merge "Increase event queue limit to 4000" into mainline-prod
This commit is contained in:
committed by
Android (Google) Code Review
commit
b6dd7bcc73
@@ -76,7 +76,7 @@ int main(int /*argc*/, char** /*argv*/) {
|
|||||||
ABinderProcess_startThreadPool();
|
ABinderProcess_startThreadPool();
|
||||||
|
|
||||||
std::shared_ptr<LogEventQueue> eventQueue =
|
std::shared_ptr<LogEventQueue> eventQueue =
|
||||||
std::make_shared<LogEventQueue>(2000 /*buffer limit. Buffer is NOT pre-allocated*/);
|
std::make_shared<LogEventQueue>(4000 /*buffer limit. Buffer is NOT pre-allocated*/);
|
||||||
|
|
||||||
// Create the service
|
// Create the service
|
||||||
gStatsService = SharedRefBase::make<StatsService>(looper, eventQueue);
|
gStatsService = SharedRefBase::make<StatsService>(looper, eventQueue);
|
||||||
|
|||||||
Reference in New Issue
Block a user