summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_unbound_advanced.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-04-21 23:27:14 -0500
committerChris Buechler <cmb@pfsense.org>2016-04-21 23:27:14 -0500
commitb196692532c02fb90889f27512f1246b7805cc44 (patch)
treea48e4c88cb61db86f7ea84353ff22828d52c3f2f /src/usr/local/www/services_unbound_advanced.php
parentbbc32e31b56cc7a5b139d03eb5c55ca6f2294407 (diff)
downloadpfsense-b196692532c02fb90889f27512f1246b7805cc44.zip
pfsense-b196692532c02fb90889f27512f1246b7805cc44.tar.gz
Add 200000 to max cache while we're at it. Ticket #6230
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 4040fc7..7d976cc 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', '100000'), true)) {
+ if (isset($_POST['infra_cache_numhosts']) && !in_array($_POST['infra_cache_numhosts'], array('1000', '5000', '10000', '20000', '50000', '100000', '200000'), 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", "100000"), array("1000", "5000", "10000", "20000", "50000", "100000"))
+ array_combine(array("1000", "5000", "10000", "20000", "50000", "100000", "200000"), array("1000", "5000", "10000", "20000", "50000", "100000", "200000"))
))->setHelp('Number of infrastructure hosts for which information is cached. The default is 10,000.');
$mln = gettext("million");
OpenPOWER on IntegriCloud