yonge před 5 roky
rodič
revize
066bede88f

+ 5 - 0
mec-gateway/mec-gateway-web/src/main/resources/application.yml

@@ -112,7 +112,12 @@ hystrix:
       execution:
       execution:
         isolation:
         isolation:
           thread:
           thread:
+            #发生熔断的超时时间
             timeoutInMilliseconds: 60000
             timeoutInMilliseconds: 60000
+          semaphore:
+            maxConcurrentRequests: 500
+          circuitBreaker:
+            sleepWindowInMilliseconds: 5000
 
 
 
 
 #spring boot admin 相关配置
 #spring boot admin 相关配置