Increase maximum adblock filter file size to 20MB

I've made my own generated filter file, which doesn't fit into 10MB. The author of [filtrite](https://github.com/xarantolus/filtrite#using-your-own-filter-lists) also mentions this limitation. Hopefully, 20 MB is more than enough for everyone.
This commit is contained in:
Mikhail Krassavin
2023-01-27 11:22:16 +01:00
committed by Carl
parent a0daaacf6d
commit 3b786d51d9
@@ -1157,8 +1157,8 @@ new file mode 100644
+
+namespace adblock_updater {
+
+// maximum 10MB for the filters file
+const int kMaxBodySize = 1024 * 1024 * 10;
+// maximum 20MB for the filters file
+const int kMaxBodySize = 1024 * 1024 * 20;
+
+const int kMaxRetriesOnNetworkChange = 3;
+