server:
port: 8088
management:
health:
defaults:
enabled: false
swagger:
enabled: true
zuul:
#ignore-local-service: false
routes:
fin-service:
path: /*/**
serviceId: xxxx
doc-service:
path: /**/**
serviceId: xxxx
ent-zuul:
path: /xxx/**
serviceId: xxxxx
host:
connect-timeout-millis: 60000
socket-timeout-millis: 60000
feign:
httpclient:
enabled: true
compression:
request:
enabled: true
mime-type: text/xml,application/json
min-request-size: 2048
response:
enabled: true
ribbon:
ConnectTimeout: 60000 # 连接超时时间(ms)
ReadTimeout: 60000 # 通信超时时间(ms)0
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMillisecond: 50000 # 熔断超时时长:60000ms
|