Skip to content

Commit

Permalink
Run reactive MGET in parallel #2395
Browse files Browse the repository at this point in the history
Original pull request: #2396
  • Loading branch information
koisyu authored and mp911de committed Apr 24, 2023
1 parent 6604fbe commit 07ec489
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public Flux<KeyValue<K, V>> mget(Iterable<K> keys) {
publishers.add(super.mget(entry.getValue()));
}

Flux<KeyValue<K, V>> fluxes = Flux.concat(publishers);
Flux<KeyValue<K, V>> fluxes = Flux.mergeSequential(publishers);

Mono<List<KeyValue<K, V>>> map = fluxes.collectList().map(vs -> {

Expand Down

0 comments on commit 07ec489

Please sign in to comment.