Skip to content

Commit

Permalink
fix SpringContextInstallStage countDownLatch size error
Browse files Browse the repository at this point in the history
  • Loading branch information
致节 committed Nov 1, 2023
1 parent 60856da commit be6f24c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ private void doRefreshSpringContextParallel() {
if (rootDescriptors == null || rootDescriptors.size() == 0) {
return;
}
final CountDownLatch latch = new CountDownLatch(rootDescriptors.size());
final CountDownLatch latch = new CountDownLatch(application.getResolvedDeployments().size());
List<Future<?>> futures = new CopyOnWriteArrayList<>();

for (final DeploymentDescriptor deployment : rootDescriptors) {
Expand Down

0 comments on commit be6f24c

Please sign in to comment.