Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_memcached_module.xml @ 1290:f5cc9f2aef9a
Proxy/memcached/fastcgi/scgi/uwsgi: _next_upstream_timeout,_next_upstream_tries.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 12 Sep 2014 16:38:33 +0400 |
parents | 57fc39924d42 |
children | 91a064bdb4f9 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_memcached_module.xml +++ b/xml/en/docs/http/ngx_http_memcached_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_memcached_module" link="/en/docs/http/ngx_http_memcached_module.html" lang="en" - rev="8"> + rev="9"> <section id="summary"> @@ -173,6 +173,46 @@ The case of <literal>not_found</literal> is never considered an unsuccessful attempt. </para> +<para> +Passing a request to the next server can be limited by +<link id="memcached_next_upstream_tries">the number of tries</link> +and by <link id="memcached_next_upstream_timeout">time</link>. +</para> + +</directive> + + +<directive name="memcached_next_upstream_timeout"> +<syntax><value>time</value></syntax> +<default>0</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.7.5</appeared-in> + +<para> +Limits the time allowed to pass a request to the +<link id="memcached_next_upstream">next server</link>. +The <literal>0</literal> value turns off this limitation. +</para> + +</directive> + + +<directive name="memcached_next_upstream_tries"> +<syntax><value>number</value></syntax> +<default>0</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.7.5</appeared-in> + +<para> +Limits the number of possible tries for passing a request to the +<link id="memcached_next_upstream">next server</link>. +The <literal>0</literal> value turns off this limitation. +</para> + </directive>