diff options
-rw-r--r-- | packages/squid-head/squid.inc | 2 | ||||
-rw-r--r-- | packages/squid-head/squid_cache.xml | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/squid-head/squid.inc b/packages/squid-head/squid.inc index e738ef02..08cf3121 100644 --- a/packages/squid-head/squid.inc +++ b/packages/squid-head/squid.inc @@ -381,7 +381,7 @@ function squid_resync_cache() { $max_objsize = $settings['maximum_object_size'] ? $settings['maximum_object_size'] : 4; $min_objsize = $settings['minimum_object_size'] ? $settings['minimum_object_size'] : 0; $cache_policy = $settings['cache_replacement_policy'] ? $settings['cache_replacement_policy'] : 'heap LFUDA'; - $memory_policy = $settings['memory_replacement_policy'] ? $settings['memory_replacement_policy'] : 'heap GSDF'; + $memory_policy = $settings['memory_replacement_policy'] ? $settings['memory_replacement_policy'] : 'heap GDSF'; $offline_mode = $settings['enable_offline'] == 'on' ? 'on' : 'off'; $conf = <<<EOD diff --git a/packages/squid-head/squid_cache.xml b/packages/squid-head/squid_cache.xml index 057b35cf..d7b0f8a0 100644 --- a/packages/squid-head/squid_cache.xml +++ b/packages/squid-head/squid_cache.xml @@ -86,14 +86,14 @@ <field> <fielddescr>Memory replacement policy</fielddescr> <fieldname>memory_replacement</fieldname> - <description>The memory replacement policy determines which objects are purged from memory when space is needed. The default policy for memory replacement is GSDF.</description> - <default_value>heap GSDF</default_value> + <description>The memory replacement policy determines which objects are purged from memory when space is needed. The default policy for memory replacement is GDSF.</description> + <default_value>heap GDSF</default_value> <type>select</type> <options> <option><name>LRU</name><value>LRU</value></option> <option><name>Heap LRU</name><value>heap LRU</value></option> <option><name>Heap LFUDA</name><value>heap LFUDA</value></option> - <option><name>Heap GDSF</name><value>heap GSDF</value></option> + <option><name>Heap GDSF</name><value>heap GDSF</value></option> </options> </field> <field> @@ -106,7 +106,7 @@ <option><name>LRU</name><value>lru</value></option> <option><name>Heap LRU</name><value>heap LRU</value></option> <option><name>Heap LFUDA</name><value>heap LFUDA</value></option> - <option><name>Heap GDSF</name><value>heap GSDF</value></option> + <option><name>Heap GDSF</name><value>heap GDSF</value></option> </options> </field> <field> |