springboot连接redis错误 io.lettuce.core.RedisCommandTimeoutException:
时间:2018-11-26 00:16:56
收藏:0
阅读:7394
springboot连接redis报错 超时连接不上 可以从以下方面排查
1查看自己的配置文件信息,把超时时间不要设置0毫秒 设置5000毫秒
2redis服务长时间不连接就会休眠,也会连接不上 重新启动redis服务《黑窗口》
评论(0)