Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab294c72 authored by Siim Sammul's avatar Siim Sammul Committed by Gerrit Code Review
Browse files

Merge "Change DropboxRateLimiter to rate limit proto tombstones and regular tombstones separately."

parents 634c15d3 258176bd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();