2023年4月25日

SpringBoot监控Actuator,关闭redis监测

摘要: 当我们导入了spring-boot-starter-actuator这个依赖后, SpringBoot会默认去监测一些信息。其中就包括redis、 会根据redis的默认初始配置, localhost:6379 尝试连接redis。如果我们没有用到redis, 启动就会报错 <dependency> 阅读全文

posted @ 2023-04-25 10:59 何苦-> 阅读(366) 评论(0) 推荐(0) 编辑

导航