diff options
author | Hugo Benichi <hugobenichi@google.com> | 2016-10-18 10:36:33 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2016-10-24 21:54:37 +0900 |
commit | e1c173d2240a8eedf7685c9371087dc047a6931f (patch) | |
tree | 2cab9839ebc7a7bcce9c0f640e0240ce28cb9e48 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 05686dbb6b965eb1a54591d2ed2334337886c6ee (diff) |
IpConnectivityMetrics: rate limit ApfProgramEvents
This patch uses the previously introduced TokenBucket to rate limit
ApfProgramEvents, still allowing for burst of ApfProgramEvents when a
new interface is set up (due to ipv4 provisioning, multicast lock, ipv6 RAs
triggering new APF program events in short amounts of time).
Test: new test in IpConnectivityMetricsTest
Bug: 1550402
Change-Id: I1a544a8d62e6b02f0ed0088ab76c4bad338d2f44
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions