Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[NC-2236] Parallel Block importer #774

Merged
merged 20 commits into from
Feb 8, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
spotless
  • Loading branch information
shemnon committed Feb 7, 2019
commit 494b9df2c6ba81f833ec3df227eb671f437f5157
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,7 @@ protected void executeTask() {
if (r != null) {
try {
final List<B> importedBlocks =
validateBodiesFuture
.get()
.getResult()
.stream()
validateBodiesFuture.get().getResult().stream()
.flatMap(Collection::stream)
.collect(Collectors.toList());
result.get().complete(importedBlocks);
Expand Down