Description
In code below, the future f is always done so client.handleReply(..) is never called.
//OrderedAsync.sendRequestWithRetry(..) sendRequest(pending).thenAccept(reply -> { if (f.isDone()) { return; } if (reply == null) { scheduleWithTimeout(pending, request, retryPolicy, null); } else { client.handleReply(request, reply); f.complete(reply); } })...
Attachments
Issue Links
- links to