Skip to content

Commit 56ef26a

Browse files
authored
Use expiryOption in PipelineBase.expireAt (#3777)
One of the expireAt methods in PipelineBase is not using its ExpiryOption argument. Fix this by forwarding that argument too to the commandObjects. Co-authored-by: Gabriel Erzse <[email protected]>
1 parent a9d3d3e commit 56ef26a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/redis/clients/jedis/PipeliningBase.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2088,7 +2088,7 @@ public Response<Long> expireAt(byte[] key, long unixTime) {
20882088

20892089
@Override
20902090
public Response<Long> expireAt(byte[] key, long unixTime, ExpiryOption expiryOption) {
2091-
return appendCommand(commandObjects.expireAt(key, unixTime));
2091+
return appendCommand(commandObjects.expireAt(key, unixTime, expiryOption));
20922092
}
20932093

20942094
@Override

0 commit comments

Comments
 (0)