DATAREDIS-711 - Polishing.

Retain publisher sequence by using concatMap, remove trailing whitespace, flush script cache in tests.

Original Pull Request: #282
This commit is contained in:
Christoph Strobl
2017-10-10 18:48:20 +02:00
parent a99a738314
commit 143c452313
3 changed files with 24 additions and 8 deletions

View File

@@ -222,7 +222,7 @@ class LettuceReactiveHashCommands implements ReactiveHashCommands {
@Override
public Flux<NumericResponse<HStrLenCommand, Long>> hStrLen(Publisher<HStrLenCommand> commands) {
return connection.execute(cmd -> Flux.from(commands).flatMap(command -> {
return connection.execute(cmd -> Flux.from(commands).concatMap(command -> {
Assert.notNull(command.getKey(), "Key must not be null!");
Assert.notNull(command.getField(), "Field must not be null!");