mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
adblock: reduce memory consumption
* rework shallalist processing: significantly reduce memory consumption during archive extraction and merging. * considerable reduce memory consumption during adblock source processing. * considerable reduce memory consumption of sort (sorts only the domain list and not the bigger dnsmasq file) other changes: * auto detection/defaults for adb_if, adb_dev, adb_ntpsrv, adb_maxloop, adb_maxtime and adb_minspace - these options can be safely removed from previous adblock configuration file * check total memory and main uhttpd configuration on startup * documentation update Signed-off-by: Dirk Brenken <dirk@brenken.org>
This commit is contained in:
@@ -2,12 +2,7 @@
|
||||
#
|
||||
config adblock "global"
|
||||
option adb_ip "192.168.2.1"
|
||||
option adb_dev "eth0"
|
||||
option adb_if "adblock"
|
||||
option adb_domain "heise.de"
|
||||
option adb_minspace "20000"
|
||||
option adb_maxloop "5"
|
||||
option adb_maxtime "60"
|
||||
option adb_blacklist "/etc/adblock/adblock.blacklist"
|
||||
option adb_whitelist "/etc/adblock/adblock.whitelist"
|
||||
|
||||
@@ -17,10 +12,6 @@ config service "wancheck"
|
||||
|
||||
config service "ntpcheck"
|
||||
option enabled "0"
|
||||
list adb_ntplist "0.pool.ntp.org"
|
||||
list adb_ntplist "1.pool.ntp.org"
|
||||
list adb_ntplist "2.pool.ntp.org"
|
||||
list adb_ntplist "3.pool.ntp.org"
|
||||
|
||||
config service "backup"
|
||||
option enabled "0"
|
||||
|
||||
Reference in New Issue
Block a user