From 8566f2653039c06e92d08a0d9de01e978bb13443 Mon Sep 17 00:00:00 2001 From: Gabriel Erzse Date: Fri, 22 Mar 2024 11:26:51 +0200 Subject: [PATCH] Fix UnifiedJedis pexpireAt glitch One of the versions of UnifiedJedis.pexpireAt methods is calling the wrong method on CommandObjects. --- src/main/java/redis/clients/jedis/UnifiedJedis.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/redis/clients/jedis/UnifiedJedis.java b/src/main/java/redis/clients/jedis/UnifiedJedis.java index 14e67a0fa1..138300c451 100644 --- a/src/main/java/redis/clients/jedis/UnifiedJedis.java +++ b/src/main/java/redis/clients/jedis/UnifiedJedis.java @@ -457,7 +457,7 @@ public long pexpireAt(byte[] key, long millisecondsTimestamp) { @Override public long pexpireAt(byte[] key, long millisecondsTimestamp, ExpiryOption expiryOption) { - return executeCommand(commandObjects.expireAt(key, millisecondsTimestamp, expiryOption)); + return executeCommand(commandObjects.pexpireAt(key, millisecondsTimestamp, expiryOption)); } @Override