blob: d1426a9847d4fd9cc98f01b3b1efe38334fb20df [file] [log] [blame]
Xing Jinwen2b2dc8c2025-06-04 23:15:13 +08001spring:
2 jpa:
3 properties:
4 redisson-config: classpath:conf/redisson.yaml
5 hibernate:
6 cache:
7 region:
8 factory_class: org.redisson.hibernate.RedissonRegionFactory
vulgar52012cebf7c2025-06-07 17:58:05 +08009 use_second_level_cache: false
10 use_query_cache: false
Xing Jinwen2b2dc8c2025-06-04 23:15:13 +080011 region_prefix: sapling
12 use_structured_entries: true
13 provider_configuration_file_resource_path: classpath:conf/hibernate-redis.properties
14 cache:
15 redis:
16 cache-null-values: true
17 key-prefix: sapling
18 time-to-live: 86400
19 enable-statistics: true
20 use-key-prefix: true
21jetcache:
22 statIntervalMinutes: 15
23 areaInCacheName: false
24 local:
25 default:
26 type: caffeine #other choose:caffeine
27 keyConvertor: jackson #other choose:fastjson/jackson
28 limit: 100
29 remote:
30 default:
31 type: redis
32 keyConvertor: jackson #other choose:fastjson/jackson
33 broadcastChannel: sapling
34 valueEncoder: java #other choose:kryo/kryo5
35 valueDecoder: java #other choose:kryo/kryo5
36 poolConfig:
37 minIdle: 5
38 maxIdle: 20
39 maxTotal: 50
40 host: ${redis.host}
41 port: ${redis.port}