未验证 提交 dd822ae5 编写于 作者: H Heng Du 提交者: GitHub

Merge pull request #1881 from duhenglucky/issue_1879

[ISSUE #1879] Prevent blocked by group transfer service
......@@ -1240,6 +1240,7 @@ public class BrokerController {
}
}
public ExecutorService getSendMessageExecutor() {
return sendMessageExecutor;
}
}
......@@ -79,7 +79,7 @@ public class SendMessageProcessor extends AbstractSendMessageProcessor implement
@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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册