summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_unbound_advanced.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-04-22 06:10:11 +0545
committerPhil Davis <phil.davis@inf.org>2016-04-22 06:10:11 +0545
commit102446a2fd66380224f75b838e8c5557939dbd10 (patch)
tree58f3dcbc07a86bc79d048e7aa8ab892598031cfc /src/usr/local/www/services_unbound_advanced.php
parent7bb301eb4d99c13784d6753ad3b39b651655b40f (diff)
downloadpfsense-102446a2fd66380224f75b838e8c5557939dbd10.zip
pfsense-102446a2fd66380224f75b838e8c5557939dbd10.tar.gz
Feature #6230 Increase Unbound Host Cache
This is very easy to do, if people are happy to have 100,000 as an option.
Diffstat (limited to 'src/usr/local/www/services_unbound_advanced.php')
-rw-r--r--src/usr/local/www/services_unbound_advanced.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_unbound_advanced.php b/src/usr/local/www/services_unbound_advanced.php
index 0b4fc30..4040fc7 100644
--- a/src/usr/local/www/services_unbound_advanced.php
+++ b/src/usr/local/www/services_unbound_advanced.php
@@ -147,7 +147,7 @@ if ($_POST) {
if (isset($_POST['infra_host_ttl']) && !in_array($_POST['infra_host_ttl'], array('60', '120', '300', '600', '900'), true)) {
$input_errors[] = gettext("A valid value must be specified for TTL for Host Cache Entries.");
}
- if (isset($_POST['infra_cache_numhosts']) && !in_array($_POST['infra_cache_numhosts'], array('1000', '5000', '10000', '20000', '50000'), true)) {
+ if (isset($_POST['infra_cache_numhosts']) && !in_array($_POST['infra_cache_numhosts'], array('1000', '5000', '10000', '20000', '50000', '100000'), true)) {
$input_errors[] = gettext("A valid value must be specified for Number of Hosts to Cache.");
}
if (isset($_POST['unwanted_reply_threshold']) && !in_array($_POST['unwanted_reply_threshold'], array('disabled', '5000000', '10000000', '20000000', '40000000', '50000000'), true)) {
@@ -352,7 +352,7 @@ $section->addInput(new Form_Select(
'infra_cache_numhosts',
'Number of Hosts to Cache',
$pconfig['infra_cache_numhosts'],
- array_combine(array("1000", "5000", "10000", "20000", "50000"), array("1000", "5000", "10000", "20000", "50000"))
+ array_combine(array("1000", "5000", "10000", "20000", "50000", "100000"), array("1000", "5000", "10000", "20000", "50000", "100000"))
))->setHelp('Number of infrastructure hosts for which information is cached. The default is 10,000.');
$mln = gettext("million");
OpenPOWER on IntegriCloud