@@ -107,7 +107,8 @@ spring:
# redis 密码必须配置
password: ruoyi123
database: 0
- timeout: 10s
+ # 需要使用数字
+ timeout: 10000
ssl.enabled: false
# redisson 配置
@@ -27,6 +27,7 @@ dubbo:
parameters:
namespace: ${spring.profiles.active}
database: ${spring.data.redis.database}
+ timeout: ${spring.data.redis.timeout}
# 消费者相关配置
consumer:
# 结果缓存(LRU算法)