You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Shixin Guo (Jira)" <ji...@apache.org> on 2021/07/12 09:15:00 UTC

[jira] [Created] (SCB-2293) 超时时间设置

Shixin Guo created SCB-2293:
-------------------------------

             Summary: 超时时间设置
                 Key: SCB-2293
                 URL: https://issues.apache.org/jira/browse/SCB-2293
             Project: Apache ServiceComb
          Issue Type: Bug
          Components: Java-Chassis
    Affects Versions: java-chassis-2.1.5
            Reporter: Shixin Guo


服务调用超过60S时,客户端会报超时的错误,但微服务配置了两分钟的请求超时:servicecomb.request.timeout=120000

测试发现客户端微服务加上下面配置后,超时时间能延长成两分钟:
servicecomb.rest.client.connection.idleTimeoutInSeconds=120

请问这两配置具体是什么含义,区别是什么?我如果要实现两分钟超时时间,是不是两个都要配置?

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)