liyupeisleep commented on issue #1858:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1858#issuecomment-651130153


   > 超时不会重试。可以参考: https://bbs.huaweicloud.com/forum/thread-12790-1-1.html
   
   你看下截图,已经走到isFaiedResponse=true的分支里了,源码里也是显示490
   
   
     protected boolean isFailedResponse(Response resp) {
       if (resp.isFailed()) {
         if (InvocationException.class.isInstance(resp.getResult())) {
           InvocationException e = (InvocationException) resp.getResult();
           return e.getStatusCode() == 
ExceptionFactory.CONSUMER_INNER_STATUS_CODE
               || e.getStatusCode() == 503;
         } else {
           return true;
         }
       } else {
         return false;
       }
     }
   
     public static final int CONSUMER_INNER_STATUS_CODE = 490;


----------------------------------------------------------------
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:
[email protected]


Reply via email to