From 90270433016dca70e08c823cc770d8f1891ecc93 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Wed, 21 Jun 2023 15:37:28 +0200 Subject: [PATCH] increased rule size limit to 50mb --- build/patches/Bromite-subresource-adblocker.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/patches/Bromite-subresource-adblocker.patch b/build/patches/Bromite-subresource-adblocker.patch index 5d3a75da..fb065289 100644 --- a/build/patches/Bromite-subresource-adblocker.patch +++ b/build/patches/Bromite-subresource-adblocker.patch @@ -703,7 +703,7 @@ diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h diff --git a/components/browser_ui/strings/android/site_settings.grdp b/components/browser_ui/strings/android/site_settings.grdp --- a/components/browser_ui/strings/android/site_settings.grdp +++ b/components/browser_ui/strings/android/site_settings.grdp -@@ -361,8 +361,8 @@ +@@ -340,8 +340,8 @@ This site shows intrusive or misleading ads @@ -1150,7 +1150,7 @@ new file mode 100644 +namespace adblock_updater { + +// maximum 10MB for the filters file -+const int kMaxBodySize = 1024 * 1024 * 10; ++const int kMaxBodySize = 1024 * 1024 * 50; + +const int kMaxRetriesOnNetworkChange = 3; +