配置修改
This commit is contained in:
@@ -11,9 +11,26 @@ spring:
|
|||||||
main:
|
main:
|
||||||
allow-bean-definition-overriding: true
|
allow-bean-definition-overriding: true
|
||||||
headless: true
|
headless: true
|
||||||
|
cloud:
|
||||||
|
loadbalancer:
|
||||||
|
retry:
|
||||||
|
enabled: false
|
||||||
|
cache:
|
||||||
|
enabled: true
|
||||||
|
cache:
|
||||||
|
type: caffeine
|
||||||
|
caffeine:
|
||||||
|
spec: initialCapacity=100,maximumSize=1000,expireAfterWrite=30s
|
||||||
|
|
||||||
mybatis:
|
mybatis:
|
||||||
mapper-locations:
|
mapper-locations:
|
||||||
- classpath*:mapper/*/*.xml
|
- classpath*:mapper/*/*.xml
|
||||||
configuration:
|
configuration:
|
||||||
map-underscore-to-camel-case: true
|
map-underscore-to-camel-case: true
|
||||||
|
|
||||||
|
feign:
|
||||||
|
client:
|
||||||
|
config:
|
||||||
|
default:
|
||||||
|
connectTimeout: 1000
|
||||||
|
readTimeout: 3000
|
||||||
Reference in New Issue
Block a user