From db185c94cc4c2e7e4dfd8e089709587b15e6d61e Mon Sep 17 00:00:00 2001 From: Yangster-mac Date: Thu, 19 Apr 2018 10:54:30 -0700 Subject: [PATCH] Increase the bytes per config threshold to avoid too frequent uploading. BUG: b/77813755 Test: statsd test Change-Id: I2b7b9292edf2c7d607f1ae6af4d52b104cd8443a --- cmds/statsd/src/guardrail/StatsdStats.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/statsd/src/guardrail/StatsdStats.h b/cmds/statsd/src/guardrail/StatsdStats.h index 2cbcca3ed95ed..65ba4f7b12f7e 100644 --- a/cmds/statsd/src/guardrail/StatsdStats.h +++ b/cmds/statsd/src/guardrail/StatsdStats.h @@ -114,7 +114,7 @@ public: // Soft memory limit per configuration. Once this limit is exceeded, we begin notifying the // data subscriber that it's time to call getData. - static const size_t kBytesPerConfigTriggerGetData = 128 * 1024; + static const size_t kBytesPerConfigTriggerGetData = 192 * 1024; // Cap the UID map's memory usage to this. This should be fairly high since the UID information // is critical for understanding the metrics.