fix:优化rss加载时间问题

fix:rss页面今日动画无图片时无法展示的问题
del:移除redis的一处print
This commit is contained in:
2022-07-14 13:09:17 +08:00
parent 96b2ba371f
commit 3fb9220e72
4 changed files with 12 additions and 6 deletions

View File

@@ -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);