|
@@ -9,6 +9,7 @@ hystrix:
|
|
maxQueueSize: 200 #BlockingQueue的最大队列数
|
|
maxQueueSize: 200 #BlockingQueue的最大队列数
|
|
queueSizeRejectionThreshold: 50 #即使maxQueueSize没有达到,达到queueSizeRejectionThreshold该值后,请求也会被拒绝
|
|
queueSizeRejectionThreshold: 50 #即使maxQueueSize没有达到,达到queueSizeRejectionThreshold该值后,请求也会被拒绝
|
|
command:
|
|
command:
|
|
|
|
+ QcServiceClient#extract(QueryVo).execution.isolation.thread.timeoutInMilliseconds: 1800000
|
|
default:
|
|
default:
|
|
execution:
|
|
execution:
|
|
timeout:
|
|
timeout:
|
|
@@ -18,11 +19,11 @@ hystrix:
|
|
semaphore:
|
|
semaphore:
|
|
maxConcurrentRequests: 2000
|
|
maxConcurrentRequests: 2000
|
|
thread:
|
|
thread:
|
|
- timeoutInMilliseconds: 2000000
|
|
|
|
|
|
+ timeoutInMilliseconds: 20000
|
|
|
|
|
|
ribbon:
|
|
ribbon:
|
|
- ReadTimeout: 2000000
|
|
|
|
- ConnectTimeout: 2000000
|
|
|
|
|
|
+ ReadTimeout: 20000
|
|
|
|
+ ConnectTimeout: 20000
|
|
MaxAutoRetries: 0
|
|
MaxAutoRetries: 0
|
|
MaxAutoRetriesNextServer: 1
|
|
MaxAutoRetriesNextServer: 1
|
|
|
|
|
|
@@ -168,5 +169,3 @@ encrypt:
|
|
|
|
|
|
swagger:
|
|
swagger:
|
|
enable: true
|
|
enable: true
|
|
-
|
|
|
|
-hystrix.command.QcServiceClient#extract().execution.isolation.thread.timeoutInMilliseconds: 1800000
|
|
|