You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2020/04/01 14:50:07 UTC
[dubbo] branch master updated: collect async export services (#5905)
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new 912303d collect async export services (#5905)
912303d is described below
commit 912303d9c4aaf04866868e5e48ee247820f088ba
Author: wavesZh <wa...@163.com>
AuthorDate: Wed Apr 1 22:49:58 2020 +0800
collect async export services (#5905)
---
.../src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java
index 8780d9d..e991d99 100644
--- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java
+++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java
@@ -911,6 +911,7 @@ public class DubboBootstrap extends GenericEventListener {
ExecutorService executor = executorRepository.getServiceExporterExecutor();
Future<?> future = executor.submit(() -> {
sc.export();
+ exportedServices.add(sc);
});
asyncExportingFutures.add(future);
} else {