You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/05 12:06:53 UTC

[GitHub] [apisix] ShiningRush opened a new issue #2637: request help: add proxy timeout in config.yaml

ShiningRush opened a new issue #2637:
URL: https://github.com/apache/apisix/issues/2637


   ### Issue description
   Default proxy timeout (read, send, connect etc.) is 60s, it is too long for some users.We should add this option for `config.yaml`, so they can config it in config file instead of modify `nginx_tpl.lua`.
   


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

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



[GitHub] [apisix] spacewander commented on issue #2637: feat(CLI): support to specify proxy timeout in config.yaml

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #2637:
URL: https://github.com/apache/apisix/issues/2637#issuecomment-751194479


   Now we set the timeout dynamically via https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/balancer.md#set_timeouts, see https://github.com/apache/apisix/blob/master/doc/admin-api.md#upstream
   ```
   "timeout": {                # Set the timeout for connection, sending and receiving messages.
           "connect":15,
           "send":15,
           "read":15,
       },
   ```


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

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



[GitHub] [apisix] spacewander closed issue #2637: feat(CLI): support to specify proxy timeout in config.yaml

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2637:
URL: https://github.com/apache/apisix/issues/2637


   


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

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