Commit 33a4bb6c by Administrator

Update application-local.yml

parent 7b218e80
...@@ -6,31 +6,25 @@ spring: ...@@ -6,31 +6,25 @@ spring:
max-request-size: 300MB max-request-size: 300MB
ribbon: ribbon:
ReadTimeout: 7000 ReadTimeout: 60000
ConnectTimeout: 7000 ConnectTimeout: 60000
MaxAutoRetries: 0
MaxAutoRetriesNextServer: 1
eureka:
enabled: false
eager-load: eager-load:
enabled: true enabled: true
clients: techhero-framework-config, techhero-framework-eureka, techhero-framework-auth,techhero-platform-exam,techhero-platform-system clients: techhero-framework-config, techhero-framework-eureka, techhero-framework-auth,techhero-platform-exam,techhero-platform-system
feign:
hystrix:
enabled: true
okhttp:
enabled: true
httpclient:
enabled: false
client:
config:
feignName:
connectTimeout: 10000
readTimeout: 10000
compression:
request:
enabled: true
response:
enabled: true
hystrix: hystrix:
command:
default:
execution:
timeout:
enabled: true
isolation:
thread:
timeoutInMilliseconds: 60000
threadpool: threadpool:
default: default:
coreSize: 10 coreSize: 10
...@@ -38,12 +32,6 @@ hystrix: ...@@ -38,12 +32,6 @@ hystrix:
queueSizeRejectionThreshold: 800 queueSizeRejectionThreshold: 800
circuitBreaker: circuitBreaker:
requestVolumeThreshold: 100 #熔断失败个数 超过既发生短路 默认20个 requestVolumeThreshold: 100 #熔断失败个数 超过既发生短路 默认20个
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 40000
fallback: fallback:
isolation: isolation:
semaphore: semaphore:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment