chore(cache/jetcache): 优化 JetCache 默认配置

This commit is contained in:
2024-01-15 22:59:51 +08:00
parent 43dba72cee
commit 36b776fcf7

View File

@@ -1,7 +1,7 @@
--- ### JetCache 配置https://github.com/alibaba/jetcache/blob/master/docs/CN/Config.md
jetcache:
# 统计间隔(默认 0表示不统计
statIntervalMinutes: 15
statIntervalMinutes: 0
# jetcache-anno 把 cacheName 作为远程缓存key前缀
# 2.4.3 以前的版本总是把 areaName 加在 cacheName 中,因此 areaName 也出现在 key 前缀中,
# 2.4.4 以后可以配置,为了保持远程 key 兼容默认值为 true但是新项目的话 false 更合理些2.7 默认值已改为 false。