个人博客 个人博客

2020 记录精彩的程序人生

目录
解决:Redis command timed out; nested exception is io.lettuce.core.RedisCommandTimeoutException: Command timed out after 5 millisecond(s)
/  

解决:Redis command timed out; nested exception is io.lettuce.core.RedisCommandTimeoutException: Command timed out after 5 millisecond(s)

SpringBoot 整合 Redis:
1.png

错误原因:连接超时时间设置的时间太小,修改为500左右即可
2.png