Mercurial > hg > nginx-site
diff xml/en/docs/stream/ngx_stream_upstream_module.xml @ 2230:283b1e67eaa6
Updated docs for the upcoming NGINX Plus release.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 30 Aug 2018 22:53:18 +0300 |
parents | 0974dc0a6209 |
children | e28e3d0f0d20 |
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_upstream_module.xml Wed Aug 29 21:48:00 2018 +0300 +++ b/xml/en/docs/stream/ngx_stream_upstream_module.xml Thu Aug 30 22:53:18 2018 +0300 @@ -9,7 +9,7 @@ <module name="Module ngx_stream_upstream_module" link="/en/docs/stream/ngx_stream_upstream_module.html" lang="en" - rev="31"> + rev="32"> <section id="summary"> @@ -525,6 +525,25 @@ with the least number of active connections. </para> +<para id="random_least_time"> +The <literal>least_time</literal> method passes a connection to a server +with the least average time and least number of active connections. +If <literal>least_time=connect</literal> parameter is specified, +time to +<link id="var_upstream_connect_time">connect</link> +to the upstream server is used. +If <literal>least_time=first_byte</literal> parameter is specified, +time to receive the +<link id="var_upstream_first_byte_time">first byte</link> of data is used. +If <literal>least_time=last_byte</literal> is specified, +time to receive the +<link id="var_upstream_session_time">last byte</link> of data is used. +<note> +The <literal>least_time</literal> method is available as a part of our +<commercial_version>commercial subscription</commercial_version>. +</note> +</para> + </directive> </section>