You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2019/12/03 06:18:42 UTC

[servicecomb-java-chassis] 13/14: [SCB-1601]Abandon waiting 30 seconds after waiting request timeout.

This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch 1.3.x
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git

commit cc14795775dd428059a540d9d9d40741efe44b67
Author: zhangchi02 <14...@qq.com>
AuthorDate: Mon Nov 18 17:09:29 2019 +0800

    [SCB-1601]Abandon waiting 30 seconds after waiting request timeout.
---
 core/src/main/java/org/apache/servicecomb/core/SCBEngine.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/src/main/java/org/apache/servicecomb/core/SCBEngine.java b/core/src/main/java/org/apache/servicecomb/core/SCBEngine.java
index 489c1a0..c7870b2 100644
--- a/core/src/main/java/org/apache/servicecomb/core/SCBEngine.java
+++ b/core/src/main/java/org/apache/servicecomb/core/SCBEngine.java
@@ -337,6 +337,7 @@ public class SCBEngine {
 
       if (System.currentTimeMillis() - start > TimeUnit.SECONDS.toMillis(30)) {
         LOGGER.error("wait for all requests timeout, abandon waiting, remaining requests: {}.", remaining);
+        return;
       }
       TimeUnit.SECONDS.sleep(1);
     }