|
|
@ -126,6 +126,12 @@ hystrix: |
|
|
|
isolation: |
|
|
|
thread: |
|
|
|
timeoutInMilliseconds: 60000 #缺省为1000 |
|
|
|
threadpool: |
|
|
|
default: |
|
|
|
coreSize: 20 |
|
|
|
maximumSize: 50 |
|
|
|
maxQueueSize: 500 |
|
|
|
queueSizeRejectionThreshold: 200 |
|
|
|
|
|
|
|
ribbon: |
|
|
|
ReadTimeout: 300000 |
|
|
@ -150,4 +156,4 @@ thread: |
|
|
|
queueCapacity: @thread.threadPool.queue-capacity@ |
|
|
|
keepAliveSeconds: @thread.threadPool.keep-alive-seconds@ |
|
|
|
threadNamePrefix: @thread.threadPool.thread-name-prefix@ |
|
|
|
rejectedExecutionHandler: @thread.threadPool.rejected-execution-handler@ |
|
|
|
rejectedExecutionHandler: @thread.threadPool.rejected-execution-handler@ |
|
|
|