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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4e70461  [SCB-1601]Abandon waiting 30 seconds after waiting request 
timeout.
4e70461 is described below

commit 4e70461e5b1a78e61d93abf5c1b92cffe4f12712
Author: zhangchi02 <[email protected]>
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);
     }

Reply via email to