tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit e53b35013fc426da34766b181dd03978cf8434e4
parent 977b38a05f2602a2ad602783f07348cd339ceb4b
Author: Randell Jesup <rjesup@mozilla.com>
Date:   Thu,  9 Oct 2025 14:32:19 +0000

Bug 1989178: Remove network.cache_purge_due_to_memory_limit telemetry r=necko-reviewers,valentin

Differential Revision: https://phabricator.services.mozilla.com/D268043

Diffstat:
Mnetwerk/cache2/CacheStorageService.cpp | 10----------
Mnetwerk/metrics.yaml | 15---------------
2 files changed, 0 insertions(+), 25 deletions(-)

diff --git a/netwerk/cache2/CacheStorageService.cpp b/netwerk/cache2/CacheStorageService.cpp @@ -1405,16 +1405,6 @@ void CacheStorageService::MemoryPool::PurgeExpiredOrOverMemoryLimit() { return; } - if (mType == EType::DISK) { - mozilla::glean::networking::cache_purge_due_to_memory_limit - .Get("meta_data_file_size_limit"_ns) - .Add(1); - } else if (mType == EType::MEMORY) { - mozilla::glean::networking::cache_purge_due_to_memory_limit - .Get("cache_memory_limit"_ns) - .Add(1); - } - auto r = PurgeByFrecency(minprogress); if (MOZ_LIKELY(r.isOk())) { size_t numPurged = r.unwrap(); diff --git a/netwerk/metrics.yaml b/netwerk/metrics.yaml @@ -1363,21 +1363,6 @@ networking: - success - failure - cache_purge_due_to_memory_limit: - type: labeled_counter - description: > - Counts how often we purge cache entries from memory due to memory limits. - bugs: - - https://bugzilla.mozilla.org/show_bug.cgi?id=1941935 - data_reviews: - - https://bugzilla.mozilla.org/show_bug.cgi?id=1941935 - notification_emails: - - necko@mozilla.com - expires: 146 - labels: - - meta_data_file_size_limit - - cache_memory_limit - trr_request_count: type: labeled_counter description: >