Commit 8a93a4d988c6d51f971b1b7300622eb9d8b17251

Authored by YunaiV
2 parents 9b7f71c2 a4c79468

Merge branch 'master-jdk21' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into develop

yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/redis/RedisController.java
... ... @@ -34,7 +34,7 @@ public class RedisController {
34 34 Properties info = stringRedisTemplate.execute((RedisCallback<Properties>) RedisServerCommands::info);
35 35 Long dbSize = stringRedisTemplate.execute(RedisServerCommands::dbSize);
36 36 Properties commandStats = stringRedisTemplate.execute((
37   - RedisCallback<Properties>) connection -> connection.commands().info());
  37 + RedisCallback<Properties>) connection -> connection.info("commandstats"));
38 38 assert commandStats != null; // 断言,避免警告
39 39 // 拼接结果返回
40 40 return success(RedisConvert.INSTANCE.build(info, dbSize, commandStats));
... ...