Skip to content

Commit

Permalink
Fix logical mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
aplotnikov committed Oct 28, 2018
1 parent f7a9378 commit 7937f07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ReactorFileProcessor implements Runnable {
@Override
public void run() {
Flux.merge(repository.readAll(), queue.poll())
.map(reader::read);
.flatMap(reader::read);
// generate responses with pause
// collect responses
// generate result file
Expand Down

0 comments on commit 7937f07

Please sign in to comment.