Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_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 | e2c3d17d0f58 |
children | e28e3d0f0d20 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_upstream_module.xml +++ b/xml/en/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_upstream_module" link="/en/docs/http/ngx_http_upstream_module.html" lang="en" - rev="75"> + rev="76"> <section id="summary"> @@ -856,6 +856,19 @@ which passes a request to a server with the least number of active connections. </para> +<para id="random_least_time"> +The <literal>least_time</literal> method passes a request to a server +with the least average response time and least number of active connections. +If <literal>least_time=header</literal> is specified, the time to receive the +<link id="var_upstream_header_time">response header</link> is used. +If <literal>least_time=last_byte</literal> is specified, the time to receive the +<link id="var_upstream_response_time">full response</link> 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>