You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "lanyazhizhou (via GitHub)" <gi...@apache.org> on 2023/02/16 08:13:05 UTC

[GitHub] [apisix] lanyazhizhou opened a new issue, #8870: help request: 创建upstream后,如果没有使用timeout字段,则默认的timeout是多少,在哪里配置的?

lanyazhizhou opened a new issue, #8870:
URL: https://github.com/apache/apisix/issues/8870

   ### Description
   
   在dashbord界面创建一个上游,如下:
   ```
   {
     "nodes": [
       {
         "host": "172.16.10.12",
         "port": 8153,
         "weight": 1
       }
     ],
     "retries": 50,
     "type": "roundrobin",
     "hash_on": "vars",
     "scheme": "http",
     "pass_host": "pass",
     "name": "test"
   }
   ```
   没有配置timeout字段,则其默认的timeout是多少?怎么配置默认的timeout?
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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.apache.org

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


[GitHub] [apisix] ronething commented on issue #8870: help request: 创建upstream后,如果没有使用timeout字段,则默认的timeout是多少,在哪里配置的?

Posted by "ronething (via GitHub)" <gi...@apache.org>.
ronething commented on issue #8870:
URL: https://github.com/apache/apisix/issues/8870#issuecomment-1432797079

   maybe you can refer links like below:
   
   https://github.com/apache/apisix/blob/e6888819a27c488b0dba6121e5b62bdc92a20a78/apisix/schema_def.lua#L389
   https://github.com/apache/apisix/blob/e6888819a27c488b0dba6121e5b62bdc92a20a78/apisix/schema_def.lua#L113-L121
   
   https://apisix.apache.org/docs/apisix/admin-api/#upstream-api


-- 
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


[GitHub] [apisix] lanyazhizhou commented on issue #8870: help request: After creating upstream, if the timeout field is not used, what is the default timeout and where is it configured?

Posted by "lanyazhizhou (via GitHub)" <gi...@apache.org>.
lanyazhizhou commented on issue #8870:
URL: https://github.com/apache/apisix/issues/8870#issuecomment-1442756981

   > maybe you can refer links like below:
   > 
   > https://github.com/apache/apisix/blob/e6888819a27c488b0dba6121e5b62bdc92a20a78/apisix/schema_def.lua#L389
   > 
   > 
   > https://github.com/apache/apisix/blob/e6888819a27c488b0dba6121e5b62bdc92a20a78/apisix/schema_def.lua#L113-L121
   > 
   > https://apisix.apache.org/docs/apisix/admin-api/#upstream-api
   
   Thank you,This is really what I want!


-- 
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


[GitHub] [apisix] lanyazhizhou closed issue #8870: help request: After creating upstream, if the timeout field is not used, what is the default timeout and where is it configured?

Posted by "lanyazhizhou (via GitHub)" <gi...@apache.org>.
lanyazhizhou closed issue #8870: help request: After creating upstream, if the timeout field is not used, what is the default timeout and where is it configured?
URL: https://github.com/apache/apisix/issues/8870


-- 
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