Browse Source

修复hkeys问题

pull/2/head 7.3.4
richie 5 years ago
parent
commit
c4b6a2c774
  1. 2
      src/main/java/com/fr/plugin/db/redis/help/client/BaseRedisClient.java

2
src/main/java/com/fr/plugin/db/redis/help/client/BaseRedisClient.java

@ -50,7 +50,7 @@ public abstract class BaseRedisClient<A> implements RedisClient<A> {
@ScriptBridge
public String hkeys(String key) {
long start = System.currentTimeMillis();
Set<String> set = jedis.keys(key);
Set<String> set = jedis.hkeys(key);
LogKit.info("Fetch data from redis spend time {} ms.", System.currentTimeMillis() - start);
return object2JSONString(set);
}

Loading…
Cancel
Save