aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-25 13:09:38 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-25 13:09:38 +0200
commit2dd4beaeadd3502610acbadb42366386e0c98581 (patch)
treea5aa47ed90cd5e20fb28b147a55a2f6faed3d062 /config/squid3
parent10b6af67208ea85d7dcd3e077250546ccf42818e (diff)
downloadpfsense-packages-2dd4beaeadd3502610acbadb42366386e0c98581.tar.gz
pfsense-packages-2dd4beaeadd3502610acbadb42366386e0c98581.tar.bz2
pfsense-packages-2dd4beaeadd3502610acbadb42366386e0c98581.zip
Fix maximum_object_size to match the described default and upstream recommended value
Diffstat (limited to 'config/squid3')
-rwxr-xr-xconfig/squid3/34/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index 33836d9e..a5837dd0 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -1120,7 +1120,7 @@ function squid_resync_cache() {
$disk_cache_size = ($settings['harddisk_cache_size'] ? $settings['harddisk_cache_size'] : 100);
$level1 = ($settings['level1_subdirs'] ? $settings['level1_subdirs'] : 16);
$memory_cache_size = ($settings['memory_cache_size'] ? $settings['memory_cache_size'] : 8);
- $max_objsize = ($settings['maximum_object_size'] ? $settings['maximum_object_size'] . " KB" : "10 KB");
+ $max_objsize = ($settings['maximum_object_size'] ? $settings['maximum_object_size'] . " MB" : "4 MB");
$min_objsize = ($settings['minimum_object_size'] ? $settings['minimum_object_size'] : 0);
$max_objsize_in_mem = ($settings['maximum_objsize_in_mem'] ? $settings['maximum_objsize_in_mem'] : 32);
$cache_policy = ($settings['cache_replacement_policy'] ? $settings['cache_replacement_policy'] : 'heap LFUDA');