changeset 1619:88ad8fcea975

Changed default value of connection_pool_size.
author Yaroslav Zhuravlev <yar@nginx.com>
date Fri, 11 Dec 2015 20:40:48 +0300
parents 822415181fb7
children a225fa77389a
files xml/en/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml
diffstat 2 files changed, 14 insertions(+), 4 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="49">
+        rev="50">
 
 <section id="directives" name="Directives">
 
@@ -408,7 +408,7 @@ request body size.
 
 <directive name="connection_pool_size">
 <syntax><value>size</value></syntax>
-<default>256</default>
+<default>256|512</default>
 <context>http</context>
 <context>server</context>
 
@@ -416,6 +416,11 @@ request body size.
 Allows accurate tuning of per-connection memory allocations.
 This directive has minimal impact on performance
 and should not generally be used.
+By default, the size is equal to
+256 bytes on 32-bit platforms and 512 bytes on 64-bit platforms.
+<note>
+Prior to version 1.9.8, the default value was 256 on all platforms.
+</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="49">
+        rev="50">
 
 <section id="directives" name="Директивы">
 
@@ -404,7 +404,7 @@ client_body_temp_path /spool/nginx/clien
 
 <directive name="connection_pool_size">
 <syntax><value>размер</value></syntax>
-<default>256</default>
+<default>256|512</default>
 <context>http</context>
 <context>server</context>
 
@@ -413,6 +413,11 @@ client_body_temp_path /spool/nginx/clien
 под конкретные соединения.
 Эта директива не оказывает существенного влияния на
 производительность, и её не следует использовать.
+По умолчанию размер равен
+256 байт на 32-битных платформах и 512 байт на 64-битных платформах.
+<note>
+До версии 1.9.8 по умолчанию использовалось значение 256 на всех платформах.
+</note>
 </para>
 
 </directive>