changeset 2133:bb3d2ce5192e

Changed type of fail_timeout and slow_start in API.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 05 Apr 2018 15:49:33 +0300
parents a645aa9f2ebf
children 4cafd82e5007
files xml/en/docs/http/ngx_http_api_module.xml yaml/nginx_api.yaml
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_api_module.xml
+++ b/xml/en/docs/http/ngx_http_api_module.xml
@@ -2391,13 +2391,13 @@ Same as the <link url="https://nginx.org
 Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails">max_fails</link> parameter of the HTTP upstream server.
 </tag-desc>
 <tag-name>
-<literal>fail_timeout</literal> (<literal>integer</literal>)
+<literal>fail_timeout</literal> (<literal>string</literal>)
 </tag-name>
 <tag-desc>
 Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#fail_timeout">fail_timeout</link> parameter of the HTTP upstream server.
 </tag-desc>
 <tag-name>
-<literal>slow_start</literal> (<literal>integer</literal>)
+<literal>slow_start</literal> (<literal>string</literal>)
 </tag-name>
 <tag-desc>
 Same as the <link url="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#slow_start">slow_start</link> parameter of the HTTP upstream server.
@@ -2818,13 +2818,13 @@ Same as the <link url="https://nginx.org
 Same as the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_fails">max_fails</link> parameter of the stream upstream server.
 </tag-desc>
 <tag-name>
-<literal>fail_timeout</literal> (<literal>integer</literal>)
+<literal>fail_timeout</literal> (<literal>string</literal>)
 </tag-name>
 <tag-desc>
 Same as the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#fail_timeout">fail_timeout</link> parameter of the stream upstream server.
 </tag-desc>
 <tag-name>
-<literal>slow_start</literal> (<literal>integer</literal>)
+<literal>slow_start</literal> (<literal>string</literal>)
 </tag-name>
 <tag-desc>
 Same as the <link url="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#slow_start">slow_start</link> parameter of the stream upstream server.
--- a/yaml/nginx_api.yaml
+++ b/yaml/nginx_api.yaml
@@ -2527,12 +2527,12 @@ definitions:
           <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#max_fails">max_fails</a>
           parameter of the HTTP upstream server.
       fail_timeout:
-        type: integer
+        type: string
         description: Same as the
           <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#fail_timeout">fail_timeout</a>
           parameter of the HTTP upstream server.
       slow_start:
-        type: integer
+        type: string
         description: Same as the
           <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#slow_start">slow_start</a>
           parameter of the HTTP upstream server.
@@ -3074,12 +3074,12 @@ definitions:
           <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#max_fails">max_fails</a>
           parameter of the stream upstream server.
       fail_timeout:
-        type: integer
+        type: string
         description: Same as the
           <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#fail_timeout">fail_timeout</a>
           parameter of the stream upstream server.
       slow_start:
-        type: integer
+        type: string
         description: Same as the
           <a href="https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#slow_start">slow_start</a>
           parameter of the stream upstream server.