fix:优化rss加载时间问题
fix:rss页面今日动画无图片时无法展示的问题 del:移除redis的一处print
This commit is contained in:
@@ -42,7 +42,6 @@ public class RedisTools {
|
||||
Jedis jedis = getRedis();
|
||||
jedis.select(dbIndex);
|
||||
String ret = jedis.set(key, value);
|
||||
System.out.println("Redis set =" + ret);
|
||||
jedis.close();
|
||||
} catch (Exception e) {
|
||||
// TODO: handle exception
|
||||
@@ -77,9 +76,9 @@ public class RedisTools {
|
||||
}
|
||||
|
||||
public static String get(String key, int dbIndex) {
|
||||
String value = "-999";
|
||||
String value = null;
|
||||
if (isNotInstallRedis) {
|
||||
return value;
|
||||
return null;
|
||||
}
|
||||
try (Jedis jedis = getRedis()) {
|
||||
jedis.select(dbIndex);
|
||||
|
||||
Reference in New Issue
Block a user