changeset 1741:a99ebc3af3e4

Added variables_hash_bucket_size and variables_max_size in stream.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 05 Jul 2016 17:58:34 +0300
parents 32bbadb5b64c
children c511b73da3a9
files xml/en/docs/stream/ngx_stream_core_module.xml xml/ru/docs/stream/ngx_stream_core_module.xml
diffstat 2 files changed, 62 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_core_module.xml
+++ b/xml/en/docs/stream/ngx_stream_core_module.xml
@@ -9,7 +9,7 @@
 <module name="Module ngx_stream_core_module"
         link="/en/docs/stream/ngx_stream_core_module.html"
         lang="en"
-        rev="12">
+        rev="13">
 
 <section id="summary">
 
@@ -328,6 +328,36 @@ The option is enabled for both client an
 
 </directive>
 
+
+<directive name="variables_hash_bucket_size">
+<syntax><value>size</value></syntax>
+<default>64</default>
+<context>stream</context>
+<appeared-in>1.11.2</appeared-in>
+
+<para>
+Sets the bucket size for the variables hash table.
+The details of setting up hash tables are provided in a separate
+<link doc="../hash.xml">document</link>.
+</para>
+
+</directive>
+
+
+<directive name="variables_hash_max_size">
+<syntax><value>size</value></syntax>
+<default>1024</default>
+<context>stream</context>
+<appeared-in>1.11.2</appeared-in>
+
+<para>
+Sets the maximum <value>size</value> of the variables hash table.
+The details of setting up hash tables are provided in a separate
+<link doc="../hash.xml">document</link>.
+</para>
+
+</directive>
+
 </section>
 
 </module>
--- a/xml/ru/docs/stream/ngx_stream_core_module.xml
+++ b/xml/ru/docs/stream/ngx_stream_core_module.xml
@@ -9,7 +9,7 @@
 <module name="Модуль ngx_stream_core_module"
         link="/ru/docs/stream/ngx_stream_core_module.html"
         lang="ru"
-        rev="12">
+        rev="13">
 
 <section id="summary">
 
@@ -336,6 +336,36 @@ resolver_timeout 5s;
 
 </directive>
 
+
+<directive name="variables_hash_bucket_size">
+<syntax><value>размер</value></syntax>
+<default>64</default>
+<context>stream</context>
+<appeared-in>1.11.2</appeared-in>
+
+<para>
+Задаёт размер корзины в хэш-таблице переменных.
+Подробнее настройка хэш-таблиц обсуждается в отдельном
+<link doc="../hash.xml">документе</link>.
+</para>
+
+</directive>
+
+
+<directive name="variables_hash_max_size">
+<syntax><value>размер</value></syntax>
+<default>1024</default>
+<context>stream</context>
+<appeared-in>1.11.2</appeared-in>
+
+<para>
+Задаёт максимальный <value>размер</value> хэш-таблицы переменных.
+Подробнее настройка хэш-таблиц обсуждается в отдельном
+<link doc="../hash.xml">документе</link>.
+</para>
+
+</directive>
+
 </section>
 
 </module>