You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "nic-6443 (via GitHub)" <gi...@apache.org> on 2026/08/20 09:23:26 UTC

[PR] docs(admin-api): correct the retry_timeout type to Number [apisix]

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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs(admin-api): correct the retry_timeout type to Number [apisix]

Posted by "nic-6443 (via GitHub)" <gi...@apache.org>.
nic-6443 merged PR #13860:
URL: https://github.com/apache/apisix/pull/13860


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org