Browse Source

修改hystrix线程池配置参数

dev
jianjun 4 years ago
parent
commit
523951d470
  1. 6
      epmet-module/data-statistical/data-statistical-server/src/main/resources/bootstrap.yml
  2. 7
      epmet-module/open-data-worker/open-data-worker-server/src/main/resources/bootstrap.yml

6
epmet-module/data-statistical/data-statistical-server/src/main/resources/bootstrap.yml

@ -97,12 +97,6 @@ mybatis-plus:
feign:
hystrix:
enabled: true
threadpool:
default:
coreSize: 20
maximumSize: 50
maxQueueSize: 500
queueSizeRejectionThreshold: 800
client:
config:
default:

7
epmet-module/open-data-worker/open-data-worker-server/src/main/resources/bootstrap.yml

@ -108,7 +108,6 @@ feign:
config:
default:
loggerLevel: BASIC
okhttp:
enabled: true
hystrix:
@ -118,6 +117,12 @@ hystrix:
isolation:
thread:
timeoutInMilliseconds: 60000 #缺省为1000
threadpool:
default:
coreSize: 20
maximumSize: 50
maxQueueSize: 500
queueSizeRejectionThreshold: 800
ribbon:
ReadTimeout: 300000

Loading…
Cancel
Save