Skip to content

Commit 39231c8

Browse files
authored
Merge pull request #48596 from Ladicek/redis-fix-blpop-brpop
Redis Client: fix BLPOP and BRPOP
2 parents 0296649 + 031eef6 commit 39231c8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

extensions/redis-client/runtime/src/main/java/io/quarkus/redis/runtime/datasource/AbstractListCommands.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ Uni<Response> _blpop(Duration timeout, K... keys) {
127127
validate(timeout, "timeout");
128128

129129
RedisCommand cmd = RedisCommand.of(Command.BLPOP);
130-
cmd.put(timeout.toSeconds());
131130
cmd.putAll(marshaller.encode(keys));
132131
cmd.put(timeout.toSeconds());
133132

@@ -140,7 +139,6 @@ Uni<Response> _brpop(Duration timeout, K... keys) {
140139
validate(timeout, "timeout");
141140

142141
RedisCommand cmd = RedisCommand.of(Command.BRPOP);
143-
cmd.put(timeout.toSeconds());
144142
cmd.putAll(marshaller.encode(keys));
145143
cmd.put(timeout.toSeconds());
146144

0 commit comments

Comments
 (0)