MentosL commented on a change in pull request #8713:
URL: https://github.com/apache/dubbo/pull/8713#discussion_r706730723



##########
File path: 
dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java
##########
@@ -1273,7 +1273,7 @@ private void waitExportFinish() {
         try {
             logger.info(NAME + " waiting services exporting 
asynchronously...");
             CompletableFuture<?> future = 
CompletableFuture.allOf(asyncExportingFutures.toArray(new 
CompletableFuture[0]));
-            future.get();
+            future.get(3, TimeUnit.SECONDS);

Review comment:
       I think the future here should equal countdownlatch.await (). The 
longest export interface should also be completed within this time range.




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

Reply via email to