changeset 1132:8bdb4eb27f48

Documented the new default of "types_hash_bucket_size".
author Ruslan Ermilov <ru@nginx.com>
date Wed, 02 Apr 2014 11:25:09 +0400
parents 1ae8e4a89e46
children d935b8e44fb7
files xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml
diffstat 2 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml
+++ b/xml/en/docs/http/ngx_http_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="31">
+        rev="32">
 
 <section id="directives" name="Directives">
 
@@ -2677,16 +2677,19 @@ location /download/ {
 
 <directive name="types_hash_bucket_size">
 <syntax><value>size</value></syntax>
-<default>32|64|128</default>
+<default>64</default>
 <context>http</context>
 <context>server</context>
 <context>location</context>
 
 <para>
 Sets the bucket size for the types hash tables.
-The default value depends on the size of the processor’s cache line.
 The details of setting up hash tables are provided in a separate
 <link doc="../hash.xml">document</link>.
+<note>
+Prior to version 1.5.13,
+the default value depended on the size of the processor’s cache line.
+</note>
 </para>
 
 </directive>
--- a/xml/ru/docs/http/ngx_http_core_module.xml
+++ b/xml/ru/docs/http/ngx_http_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_core_module"
         link="/ru/docs/http/ngx_http_core_module.html"
         lang="ru"
-        rev="31">
+        rev="32">
 
 <section id="directives" name="Директивы">
 
@@ -2674,16 +2674,19 @@ location /download/ {
 
 <directive name="types_hash_bucket_size">
 <syntax><value>размер</value></syntax>
-<default>32|64|128</default>
+<default>64</default>
 <context>http</context>
 <context>server</context>
 <context>location</context>
 
 <para>
 Задаёт размер корзины в хэш-таблицах типов.
-Значение по умолчанию зависит от размера строки кэша процессора.
 Подробнее настройка хэш-таблиц обсуждается в отдельном
 <link doc="../hash.xml">документе</link>.
+<note>
+До версии 1.5.13
+значение по умолчанию зависело от размера строки кэша процессора.
+</note>
 </para>
 
 </directive>