diff xml/en/docs/ngx_core_module.xml @ 1927:75d2478260f4

Documented the "worker_shutdown_timeout" directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 09 Mar 2017 17:20:12 +0300
parents f1c18acbe785
children 8f885a69374d
line wrap: on
line diff
--- a/xml/en/docs/ngx_core_module.xml
+++ b/xml/en/docs/ngx_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Core functionality"
         link="/en/docs/ngx_core_module.html"
         lang="en"
-        rev="23">
+        rev="24">
 
 <section id="example" name="Example Configuration">
 
@@ -701,6 +701,22 @@ Used to increase the limit without resta
 </directive>
 
 
+<directive name="worker_shutdown_timeout">
+<syntax><value>time</value></syntax>
+<default/>
+<context>main</context>
+<appeared-in>1.11.11</appeared-in>
+
+<para>
+Configures a timeout for a graceful shutdown of worker processes.
+When the <value>time</value> expires,
+nginx will try to close all the connections currently open
+to facilitate shutdown.
+</para>
+
+</directive>
+
+
 <directive name="working_directory">
 <syntax><value>directory</value></syntax>
 <default/>