Skip to content

Commit

Permalink
Merge 14969aa into 1558e05
Browse files Browse the repository at this point in the history
  • Loading branch information
duhenglucky committed Mar 24, 2020
2 parents 1558e05 + 14969aa commit 15e75de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Expand Up @@ -1240,6 +1240,7 @@ private void shutdownProcessorByHa() {
}
}



public ExecutorService getSendMessageExecutor() {
return sendMessageExecutor;
}
}
Expand Up @@ -79,7 +79,7 @@ public RemotingCommand processRequest(ChannelHandlerContext ctx,

@Override
public void asyncProcessRequest(ChannelHandlerContext ctx, RemotingCommand request, RemotingResponseCallback responseCallback) throws Exception {
asyncProcessRequest(ctx, request).thenAccept(responseCallback::callback);
asyncProcessRequest(ctx, request).thenAcceptAsync(responseCallback::callback, this.brokerController.getSendMessageExecutor());
}

public CompletableFuture<RemotingCommand> asyncProcessRequest(ChannelHandlerContext ctx,
Expand Down

0 comments on commit 15e75de

Please sign in to comment.