io.lettuce.core.RedisCommandTimeoutException: Command timed out after 5 second(s) Aug 27, 2021 1 min read 编程思想Manualredis lettuce连接redis报错io.lettuce.core.RedisCommandTimeoutException: Command timed out after 5 second(s),我的spring.redis.timeout = 5000。 解决办法: 登陆redis容器 输入redis-cli进入redis控制台 设置 CONFIG SET timeout "60" 设置 CONFIG SET tcp-keepalive "300" 参考 Redis 配置 Buy me a coffee Alipay WeChat
Comments