comparison 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
comparison
equal deleted inserted replaced
1289:57fc39924d42 1290:f5cc9f2aef9a
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_memcached_module" 10 <module name="Module ngx_http_memcached_module"
11 link="/en/docs/http/ngx_http_memcached_module.html" 11 link="/en/docs/http/ngx_http_memcached_module.html"
12 lang="en" 12 lang="en"
13 rev="8"> 13 rev="9">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_memcached_module</literal> module is used to obtain 18 The <literal>ngx_http_memcached_module</literal> module is used to obtain
171 even if they are not specified in the directive. 171 even if they are not specified in the directive.
172 The case of <literal>not_found</literal> 172 The case of <literal>not_found</literal>
173 is never considered an unsuccessful attempt. 173 is never considered an unsuccessful attempt.
174 </para> 174 </para>
175 175
176 <para>
177 Passing a request to the next server can be limited by
178 <link id="memcached_next_upstream_tries">the number of tries</link>
179 and by <link id="memcached_next_upstream_timeout">time</link>.
180 </para>
181
182 </directive>
183
184
185 <directive name="memcached_next_upstream_timeout">
186 <syntax><value>time</value></syntax>
187 <default>0</default>
188 <context>http</context>
189 <context>server</context>
190 <context>location</context>
191 <appeared-in>1.7.5</appeared-in>
192
193 <para>
194 Limits the time allowed to pass a request to the
195 <link id="memcached_next_upstream">next server</link>.
196 The <literal>0</literal> value turns off this limitation.
197 </para>
198
199 </directive>
200
201
202 <directive name="memcached_next_upstream_tries">
203 <syntax><value>number</value></syntax>
204 <default>0</default>
205 <context>http</context>
206 <context>server</context>
207 <context>location</context>
208 <appeared-in>1.7.5</appeared-in>
209
210 <para>
211 Limits the number of possible tries for passing a request to the
212 <link id="memcached_next_upstream">next server</link>.
213 The <literal>0</literal> value turns off this limitation.
214 </para>
215
176 </directive> 216 </directive>
177 217
178 218
179 <directive name="memcached_pass"> 219 <directive name="memcached_pass">
180 <syntax><value>address</value></syntax> 220 <syntax><value>address</value></syntax>