diff options
| author | 2020-05-21 17:12:41 -0700 | |
|---|---|---|
| committer | 2020-05-21 17:12:41 -0700 | |
| commit | 2eea973829a91ef46f43f99f1e40ea34266af863 (patch) | |
| tree | 158588a5320d8d055634f6950e000e233e4dd92a | |
| parent | d7b08c7690595a666ac9f623ffdb1d2efd55b023 (diff) | |
Update the default max pull delay to 30 seconds
Test: atest statsd_test
Bug: 154056912
Change-Id: If531db200a4d79eefaeefff60c86668f11d9439e
| -rw-r--r-- | cmds/statsd/src/guardrail/StatsdStats.h | 2 | ||||
| -rw-r--r-- | cmds/statsd/src/statsd_config.proto | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cmds/statsd/src/guardrail/StatsdStats.h b/cmds/statsd/src/guardrail/StatsdStats.h index 3d0eeb840064..8587e1452543 100644 --- a/cmds/statsd/src/guardrail/StatsdStats.h +++ b/cmds/statsd/src/guardrail/StatsdStats.h @@ -160,7 +160,7 @@ public: static const long kPullerCacheClearIntervalSec = 1; // Max time to do a pull. - static const int64_t kPullMaxDelayNs = 10 * NS_PER_SEC; + static const int64_t kPullMaxDelayNs = 30 * NS_PER_SEC; // Maximum number of pushed atoms statsd stats will track above kMaxPushedAtomId. static const int kMaxNonPlatformPushedAtoms = 100; diff --git a/cmds/statsd/src/statsd_config.proto b/cmds/statsd/src/statsd_config.proto index 2e6043df0e64..72decf2c7bd0 100644 --- a/cmds/statsd/src/statsd_config.proto +++ b/cmds/statsd/src/statsd_config.proto @@ -278,7 +278,7 @@ message GaugeMetric { optional int64 max_num_gauge_atoms_per_bucket = 11 [default = 10]; - optional int32 max_pull_delay_sec = 13 [default = 10]; + optional int32 max_pull_delay_sec = 13 [default = 30]; optional bool split_bucket_for_app_upgrade = 14 [default = true]; } @@ -328,7 +328,7 @@ message ValueMetric { optional bool skip_zero_diff_output = 14 [default = true]; - optional int32 max_pull_delay_sec = 16 [default = 10]; + optional int32 max_pull_delay_sec = 16 [default = 30]; optional bool split_bucket_for_app_upgrade = 17 [default = true]; |