Skip to content

Commit bb20ca0

Browse files
author
致节
committed
1. update 4.0.2
2. fix SpringContextInstallStage countDownLatch size error
1 parent 5da952f commit bb20ca0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<description>SOFABoot Build</description>
3636

3737
<properties>
38-
<revision>4.0.1</revision>
38+
<revision>4.0.2</revision>
3939
<sofa.boot.version>${revision}</sofa.boot.version>
4040
<spring.boot.version>3.0.9</spring.boot.version>
4141
<!--project-->

Diff for: sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/main/java/com/alipay/sofa/boot/isle/stage/SpringContextInstallStage.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private void doRefreshSpringContextParallel() {
154154
if (rootDescriptors == null || rootDescriptors.size() == 0) {
155155
return;
156156
}
157-
final CountDownLatch latch = new CountDownLatch(rootDescriptors.size());
157+
final CountDownLatch latch = new CountDownLatch(application.getResolvedDeployments().size());
158158
List<Future<?>> futures = new CopyOnWriteArrayList<>();
159159

160160
for (final DeploymentDescriptor deployment : rootDescriptors) {

0 commit comments

Comments
 (0)