Revision 2f5b3dcd
Added by Chris Buechler over 9 years ago
src/usr/local/www/services_unbound_advanced.php | ||
---|---|---|
147 | 147 |
if (isset($_POST['infra_host_ttl']) && !in_array($_POST['infra_host_ttl'], array('60', '120', '300', '600', '900'), true)) { |
148 | 148 |
$input_errors[] = gettext("A valid value must be specified for TTL for Host Cache Entries."); |
149 | 149 |
} |
150 |
if (isset($_POST['infra_cache_numhosts']) && !in_array($_POST['infra_cache_numhosts'], array('1000', '5000', '10000', '20000', '50000', '100000'), true)) { |
|
150 |
if (isset($_POST['infra_cache_numhosts']) && !in_array($_POST['infra_cache_numhosts'], array('1000', '5000', '10000', '20000', '50000', '100000', '200000'), true)) {
|
|
151 | 151 |
$input_errors[] = gettext("A valid value must be specified for Number of Hosts to Cache."); |
152 | 152 |
} |
153 | 153 |
if (isset($_POST['unwanted_reply_threshold']) && !in_array($_POST['unwanted_reply_threshold'], array('disabled', '5000000', '10000000', '20000000', '40000000', '50000000'), true)) { |
... | ... | |
352 | 352 |
'infra_cache_numhosts', |
353 | 353 |
'Number of Hosts to Cache', |
354 | 354 |
$pconfig['infra_cache_numhosts'], |
355 |
array_combine(array("1000", "5000", "10000", "20000", "50000", "100000"), array("1000", "5000", "10000", "20000", "50000", "100000"))
|
|
355 |
array_combine(array("1000", "5000", "10000", "20000", "50000", "100000", "200000"), array("1000", "5000", "10000", "20000", "50000", "100000", "200000"))
|
|
356 | 356 |
))->setHelp('Number of infrastructure hosts for which information is cached. The default is 10,000.'); |
357 | 357 |
|
358 | 358 |
$mln = gettext("million"); |
Also available in: Unified diff
Add 200000 to max cache while we're at it. Ticket #6230