comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 2705:06805824d0f0

Documented the keepalive_time directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 13 Apr 2021 15:05:16 +0100
parents 52500ccb82c1
children 4f44386a16b1
comparison
equal deleted inserted replaced
2704:6ca9548f46e0 2705:06805824d0f0
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_upstream_module" 10 <module name="Module ngx_http_upstream_module"
11 link="/en/docs/http/ngx_http_upstream_module.html" 11 link="/en/docs/http/ngx_http_upstream_module.html"
12 lang="en" 12 lang="en"
13 rev="85"> 13 rev="86">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_upstream_module</literal> module 18 The <literal>ngx_http_upstream_module</literal> module
652 <para> 652 <para>
653 Closing connections periodically is necessary to free 653 Closing connections periodically is necessary to free
654 per-connection memory allocations. 654 per-connection memory allocations.
655 Therefore, using too high maximum number of requests 655 Therefore, using too high maximum number of requests
656 could result in excessive memory usage and not recommended. 656 could result in excessive memory usage and not recommended.
657 </para>
658
659 </directive>
660
661
662 <directive name="keepalive_time">
663 <syntax><value>time</value></syntax>
664 <default>1h</default>
665 <context>upstream</context>
666 <appeared-in>1.19.10</appeared-in>
667
668 <para>
669 Limits the maximum time during which
670 requests can be processed through one keepalive connection.
671 After this time is reached, the connection is closed
672 following the subsequent request processing.
657 </para> 673 </para>
658 674
659 </directive> 675 </directive>
660 676
661 677