You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "chickenlj (GitHub)" <gi...@apache.org> on 2019/02/19 02:59:54 UTC

[GitHub] [incubator-dubbo] chickenlj commented on issue #3498: fix issue #1875: MergeableClusterInvoker 超时处理逻辑问题

I am thinking of the possibility of making each remote call async: `invocation.setAttachment(Constants.ASYNC_KEY, Boolean.TRUE.toString());`

then, `invoker.invoke()` itself will return a Future like async result directly, if this result has started to count timeout from the moment its request data was sent to the remote server, we will not need to calculate timeout by ourself like what we do now for each Future. 

[ Full content available at: https://github.com/apache/incubator-dubbo/pull/3498 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org