Merge "Change DropboxRateLimiter to rate limit proto tombstones and regular tombstones separately." am: ab294c72f2 am: 18225e8642 am: fd21b75a49
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2323516 Change-Id: I44e8d4e0021f399e9c6b00994a47cb9b6495cd4c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -341,7 +341,8 @@ public class BootReceiver extends BroadcastReceiver {
|
||||
// non-proto tombstones, even though proto tombstones do not support including the counter
|
||||
// of events dropped since rate limiting activated yet.
|
||||
DropboxRateLimiter.RateLimitResult rateLimitResult =
|
||||
sDropboxRateLimiter.shouldRateLimit(TAG_TOMBSTONE, processName);
|
||||
sDropboxRateLimiter.shouldRateLimit(
|
||||
proto ? TAG_TOMBSTONE_PROTO : TAG_TOMBSTONE, processName);
|
||||
if (rateLimitResult.shouldRateLimit()) return;
|
||||
|
||||
HashMap<String, Long> timestamps = readTimestamps();
|
||||
|
||||
Reference in New Issue
Block a user