Skip to content

Commit

Permalink
Fix for review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anandkrshaw committed Sep 14, 2024
1 parent 0071294 commit 1b4d5b7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,11 @@ public void start() {
try {
if (_server == null) {
if (_tlsConfig == null) {
_server = ServerBuilder.forPort(_port).addService(this).maxInboundMessageSize(MAX_INBOUND_MESSAGE_SIZE).build();
_server = ServerBuilder.forPort(_port).addService(this)
.maxInboundMessageSize(MAX_INBOUND_MESSAGE_SIZE).build();
} else {
_server = NettyServerBuilder.forPort(_port).addService(this).sslContext(buildGRpcSslContext(_tlsConfig))
_server = NettyServerBuilder.forPort(_port).addService(this)
.sslContext(buildGRpcSslContext(_tlsConfig))
.maxInboundMessageSize(MAX_INBOUND_MESSAGE_SIZE).build();
}
LOGGER.info("Initialized QueryServer on port: {}", _port);
Expand Down

0 comments on commit 1b4d5b7

Please sign in to comment.