Skip to content

Commit

Permalink
Disable parallel processing in AggregateRequirementsService as it has…
Browse files Browse the repository at this point in the history
… some bug that prevents requirements from being correctly merged
  • Loading branch information
jan-molak committed Jan 4, 2024
1 parent 37a3906 commit 0a26201
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public RequirementsOutcomeFactory getRequirementsOutcomeFactory() {
return requirementsOutcomeFactory;
}

public RequirementsService getRequirementsService() {
public BaseRequirementsService getRequirementsService() {
return requirementsService;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public List<Requirement> getRequirements() {
StopWatch stopWatch = StopWatch.createStarted();

requirements = getRequirementsTagProviders().stream()
.parallel()
// todo: enable parallel processing
// .parallel()
.flatMap(RequirementsProvided::asStream)
.collect(Collectors.toCollection(MergedRequirementList::new));

Expand Down

0 comments on commit 0a26201

Please sign in to comment.