|
@@ -28,7 +28,7 @@ spring:
|
|
|
|
|
|
|
|
|
|
|
|
|
server:
|
|
server:
|
|
|
- port: 8080
|
|
|
|
|
|
|
+ port: 9080
|
|
|
tomcat:
|
|
tomcat:
|
|
|
max-threads: 1000
|
|
max-threads: 1000
|
|
|
accept-count: 800
|
|
accept-count: 800
|
|
@@ -82,4 +82,7 @@ hystrix:
|
|
|
execution:
|
|
execution:
|
|
|
isolation:
|
|
isolation:
|
|
|
thread:
|
|
thread:
|
|
|
- timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒
|
|
|
|
|
|
|
+ timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒
|
|
|
|
|
+ strategy: SEMAPHORE
|
|
|
|
|
+ semaphore:
|
|
|
|
|
+ maxConcurrentRequests: 1
|