update 关闭 dubbo 全局缓存 会有数据不一致问题 建议再注解局部开启

2.X
疯狂的狮子li 2022-02-25 16:43:17 +08:00
parent ac8d14aed1
commit 652a595569
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ dubbo:
# 消费者相关配置
consumer:
# 结果缓存(LRU算法)
cache: true
# 会有数据不一致问题 建议在注解局部开启
cache: false
# 支持校验注解
validation: true
# 超时时间