# HG changeset patch # User Yaroslav Zhuravlev # Date 1522932573 -10800 # Node ID bb3d2ce5192ebe24bdfaaa2f332adab3802a01f1 # Parent a645aa9f2ebf42cb69f5248e78902227adc89a44 Changed type of fail_timeout and slow_start in API. diff --git a/xml/en/docs/http/ngx_http_api_module.xml b/xml/en/docs/http/ngx_http_api_module.xml --- 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 max_fails parameter of the HTTP upstream server. -fail_timeout (integer) +fail_timeout (string) Same as the fail_timeout parameter of the HTTP upstream server. -slow_start (integer) +slow_start (string) Same as the slow_start parameter of the HTTP upstream server. @@ -2818,13 +2818,13 @@ Same as the max_fails parameter of the stream upstream server. -fail_timeout (integer) +fail_timeout (string) Same as the fail_timeout parameter of the stream upstream server. -slow_start (integer) +slow_start (string) Same as the slow_start parameter of the stream upstream server. diff --git a/yaml/nginx_api.yaml b/yaml/nginx_api.yaml --- a/yaml/nginx_api.yaml +++ b/yaml/nginx_api.yaml @@ -2527,12 +2527,12 @@ definitions: max_fails parameter of the HTTP upstream server. fail_timeout: - type: integer + type: string description: Same as the fail_timeout parameter of the HTTP upstream server. slow_start: - type: integer + type: string description: Same as the slow_start parameter of the HTTP upstream server. @@ -3074,12 +3074,12 @@ definitions: max_fails parameter of the stream upstream server. fail_timeout: - type: integer + type: string description: Same as the fail_timeout parameter of the stream upstream server. slow_start: - type: integer + type: string description: Same as the slow_start parameter of the stream upstream server.