yandrey321 commented on code in PR #9648:
URL: https://github.com/apache/ozone/pull/9648#discussion_r2708789360
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocolPB/GrpcOmTransport.java:
##########
@@ -299,13 +299,42 @@ public void shutdown() {
for (Map.Entry<String, ManagedChannel> entry : channels.entrySet()) {
ManagedChannel channel = entry.getValue();
channel.shutdown();
+ }
+
+ final long maxWaitMillis = TimeUnit.SECONDS.toMillis(5);
Review Comment:
use named constant or config param
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]