Commit 7b218e80 by Administrator

Update application-local.yml

parent 8bfc57ca
......@@ -3,4 +3,53 @@ spring:
multipart:
enabled: true
max-file-size: 300MB
max-request-size: 300MB
\ No newline at end of file
max-request-size: 300MB
ribbon:
ReadTimeout: 7000
ConnectTimeout: 7000
eager-load:
enabled: true
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:
threadpool:
default:
coreSize: 10
maxQueueSize: 1000
queueSizeRejectionThreshold: 800
circuitBreaker:
requestVolumeThreshold: 100 #熔断失败个数 超过既发生短路 默认20个
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 40000
fallback:
isolation:
semaphore:
maxConcurrentRequests: 50 #回退线程数量
tomcat:
max-connections: 500
max-threads: 30
min-spare-threads: 3
accept-count: 10
\ No newline at end of file
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