[
https://issues.jboss.org/browse/JGRP-2038?page=com.atlassian.jira.plugin....
]
Bela Ban commented on JGRP-2038:
--------------------------------
This is because the timeout defined in {{RequestOptions}} doesn't come into play with
an RPC-with-future which returns immediately. To use a timeout,
{{CompletableFuture.get(long timeout, TimeUnit unit)}} has to be used on the returned
future.
RpcDipatcher: calls with CompletableFuture don't respect timeout
----------------------------------------------------------------
Key: JGRP-2038
URL:
https://issues.jboss.org/browse/JGRP-2038
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 4.0
When calling {{RpsDispatcher.callRemoteMethodsWithFuture()}}, a timeout passed via
RequestOptions is not respected; calls don't timeout out if any of the members
doesn't reply.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)