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:
@@ -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;
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user