You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/12/06 12:32:11 UTC

[GitHub] [servicecomb-java-chassis] five111 edited a comment on issue #2654: java-chassis可以设置tcp连接超时的时间吗

five111 edited a comment on issue #2654:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2654#issuecomment-986732861


   经过阅读源码
   ```
    public static int getConnectionTimeoutInMillis() {
       return DynamicPropertyFactory.getInstance()
           .getIntProperty("servicecomb.rest.client.connection.timeoutInMillis", 1000)
           .get();
     }
   ```
   java-chassis是通过这个参数去配置的,当前这个参数在文档是看不见的。
   请问是不希望用户修改吗,如果修改会有什么隐藏bug吗 这个时间似乎会记录到408的超时时间里去 ?
   另外连接超时是否可以加入到重试机制里去?


-- 
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: commits-unsubscribe@servicecomb.apache.org

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