You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2019/12/13 07:24:47 UTC

[dubbo] 06/14: correct timeout logic

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

liujun pushed a commit to branch master-hsf
in repository https://gitbox.apache.org/repos/asf/dubbo.git

commit af72d04f5583a7d2641ae210fe077fb0347fd0ae
Author: beiwei.ly <be...@alibaba-inc.com>
AuthorDate: Fri Nov 15 15:19:57 2019 +0800

    correct timeout logic
---
 .../src/main/java/org/apache/dubbo/rpc/AsyncRpcResult.java              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/AsyncRpcResult.java b/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/AsyncRpcResult.java
index 10d0f60..151a676 100644
--- a/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/AsyncRpcResult.java
+++ b/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/AsyncRpcResult.java
@@ -163,7 +163,7 @@ public class AsyncRpcResult extends AbstractResult {
 
     @Override
     public Result get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException {
-        return this.get();
+        return super.get(timeout, unit);
     }
 
     @Override