lhotari commented on a change in pull request #9286:
URL: https://github.com/apache/pulsar/pull/9286#discussion_r563598155



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
##########
@@ -669,11 +669,23 @@ public void close() throws IOException {
         });
 
         if (listenChannel != null) {
-            listenChannel.close();
+            try {
+                if (!listenChannel.close().await(30, TimeUnit.SECONDS)) {

Review comment:
       Thanks for the review @sijie .
   I'll move this change to a separate PR as you have suggested for one of the 
other changes.




----------------------------------------------------------------
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.

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


Reply via email to