配置修改

This commit is contained in:
xiang
2026-03-22 10:20:31 +08:00
parent a89b71fe80
commit fce3ed71f4

View File

@@ -11,9 +11,26 @@ spring:
main:
allow-bean-definition-overriding: true
headless: true
cloud:
loadbalancer:
retry:
enabled: false
cache:
enabled: true
cache:
type: caffeine
caffeine:
spec: initialCapacity=100,maximumSize=1000,expireAfterWrite=30s
mybatis:
mapper-locations:
- classpath*:mapper/*/*.xml
configuration:
map-underscore-to-camel-case: true
feign:
client:
config:
default:
connectTimeout: 1000
readTimeout: 3000