From c4b6a2c77461d197b19e5f723c662a32da760948 Mon Sep 17 00:00:00 2001 From: richie Date: Mon, 22 Jun 2020 12:04:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dhkeys=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/plugin/db/redis/help/client/BaseRedisClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/fr/plugin/db/redis/help/client/BaseRedisClient.java b/src/main/java/com/fr/plugin/db/redis/help/client/BaseRedisClient.java index 9d809b8..7581c19 100644 --- a/src/main/java/com/fr/plugin/db/redis/help/client/BaseRedisClient.java +++ b/src/main/java/com/fr/plugin/db/redis/help/client/BaseRedisClient.java @@ -50,7 +50,7 @@ public abstract class BaseRedisClient implements RedisClient { @ScriptBridge public String hkeys(String key) { long start = System.currentTimeMillis(); - Set set = jedis.keys(key); + Set set = jedis.hkeys(key); LogKit.info("Fetch data from redis spend time {} ms.", System.currentTimeMillis() - start); return object2JSONString(set); }