mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-08 05:17:42 +00:00
update 优化 dubbo元数据注册redis支持timeout(注意时间必须使用数字)
This commit is contained in:
@@ -107,7 +107,8 @@ spring:
|
|||||||
# redis 密码必须配置
|
# redis 密码必须配置
|
||||||
password: ruoyi123
|
password: ruoyi123
|
||||||
database: 0
|
database: 0
|
||||||
timeout: 10s
|
# 需要使用数字
|
||||||
|
timeout: 10000
|
||||||
ssl.enabled: false
|
ssl.enabled: false
|
||||||
|
|
||||||
# redisson 配置
|
# redisson 配置
|
||||||
|
@@ -27,6 +27,7 @@ dubbo:
|
|||||||
parameters:
|
parameters:
|
||||||
namespace: ${spring.profiles.active}
|
namespace: ${spring.profiles.active}
|
||||||
database: ${spring.data.redis.database}
|
database: ${spring.data.redis.database}
|
||||||
|
timeout: ${spring.data.redis.timeout}
|
||||||
# 消费者相关配置
|
# 消费者相关配置
|
||||||
consumer:
|
consumer:
|
||||||
# 结果缓存(LRU算法)
|
# 结果缓存(LRU算法)
|
||||||
|
Reference in New Issue
Block a user