nic-6443 opened a new pull request, #13860:
URL: https://github.com/apache/apisix/pull/13860

   The Upstream parameter table lists `retry_timeout` as `Integer`, but the 
schema declares it as a number:
   
   ```lua
   retry_timeout = {
       type = "number",
       minimum = 0,
   },
   ```
   
   `apisix/balancer.lua` uses it as `ngx_now() + up_conf.retry_timeout`, so 
fractional values like `0.5` are valid and accepted by the Admin API. The 
Chinese doc already says `number`; only the English one is wrong.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to