luci-app-adblock: sync with adblock 4.1.4
authorDirk Brenken <dev@brenken.org>
Sat, 10 Sep 2022 17:01:46 +0000 (19:01 +0200)
committerDirk Brenken <dev@brenken.org>
Sat, 10 Sep 2022 17:01:46 +0000 (19:01 +0200)
* removed the unused 'adb_dnsinotify' parameter
* removed the 'adb_maxqueue' parameter,
  the queue size will be automatically set by the number of cpu cores

Signed-off-by: Dirk Brenken <dev@brenken.org>
applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js

index fb50d4ca957ec6733b28c739ec1602931ec7aca8..a54b350759b6b9e38552279c70b5395c9211ae23 100644 (file)
@@ -382,15 +382,6 @@ return view.extend({
                o.datatype = 'range(1,300)';
                o.rmempty = true;
 
-               o = s.taboption('additional', form.ListValue, 'adb_maxqueue', _('Download Queue'), _('Size of the download queue for download processing (incl. sorting, merging etc.) in parallel.'));
-               o.value('1');
-               o.value('2');
-               o.value('4');
-               o.value('8');
-               o.value('16');
-               o.value('32');
-               o.rmempty = false;
-
                o = s.taboption('additional', form.Value, 'adb_tmpbase', _('Base Temp Directory'), _('Base Temp Directory for all adblock related runtime operations, \
                        e.g. downloading, sorting, merging etc.'));
                o.placeholder = '/tmp';
@@ -485,10 +476,6 @@ return view.extend({
                o.placeholder = '/tmp';
                o.rmempty = true;
 
-               o = s.taboption('adv_dns', form.Flag, 'adb_dnsinotify', _('Disable DNS Restarts'), _('Disable adblock triggered restarts for dns backends with autoload/inotify functions.'));
-               o.depends('adb_dnsflush', '0');
-               o.rmempty = true;
-
                /*
                        advanced report settings tab
                */