yandrey321 commented on code in PR #1679:
URL: https://github.com/apache/ratis/pull/1679#discussion_r4464715644


##########
ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcServerProtocolClient.java:
##########
@@ -61,7 +69,8 @@ class GrpcServerProtocolClient implements Closeable {
   private final RaftPeerId raftPeerId;
   private final EventLoopGroup eventLoopGroup;
 
-  GrpcServerProtocolClient(RaftPeer target, int connections, int 
flowControlWindow,
+  @SuppressWarnings("checkstyle:ParameterNumber")

Review Comment:
   It is built in one place, `GrpcServicesImpl.newGrpcServerProtocolClient`, 
plus
   one test. I'd rather keep this PR to the connections change and move the 
constructor to a builder in a follow-up Jira, which I can file. If you'd prefer 
it here, I'll add it to this PR.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to