Browse Source

feign trix配置线程池参数

release
jianjun 3 years ago
parent
commit
77176c0bf4
  1. 6
      epmet-module/epmet-ext/epmet-ext-server/src/main/resources/bootstrap.yml
  2. 6
      epmet-module/epmet-heart/epmet-heart-server/src/main/resources/bootstrap.yml
  3. 6
      epmet-module/epmet-message/epmet-message-server/src/main/resources/bootstrap.yml
  4. 8
      epmet-module/epmet-third/epmet-third-server/src/main/resources/bootstrap.yml
  5. 8
      epmet-module/gov-access/gov-access-server/src/main/resources/bootstrap.yml
  6. 6
      epmet-module/gov-org/gov-org-server/src/main/resources/bootstrap.yml
  7. 8
      epmet-user/epmet-user-server/src/main/resources/bootstrap.yml

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

@ -93,6 +93,12 @@ hystrix:
isolation:
thread:
timeoutInMilliseconds: 60000
threadpool:
default:
coreSize: 20
maximumSize: 50
maxQueueSize: 500
queueSizeRejectionThreshold: 800
ribbon:
ReadTimeout: 300000

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

@ -111,6 +111,12 @@ hystrix:
isolation:
thread:
timeoutInMilliseconds: 60000 #缺省为1000
threadpool:
default:
coreSize: 20
maximumSize: 50
maxQueueSize: 500
queueSizeRejectionThreshold: 800
ribbon:
ReadTimeout: 300000

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

@ -113,6 +113,12 @@ hystrix:
isolation:
thread:
timeoutInMilliseconds: 60000 #缺省为1000
threadpool:
default:
coreSize: 20
maximumSize: 50
maxQueueSize: 500
queueSizeRejectionThreshold: 800
ribbon:
ReadTimeout: 300000

8
epmet-module/epmet-third/epmet-third-server/src/main/resources/bootstrap.yml

@ -93,6 +93,12 @@ hystrix:
isolation:
thread:
timeoutInMilliseconds: 60000
threadpool:
default:
coreSize: 20
maximumSize: 50
maxQueueSize: 500
queueSizeRejectionThreshold: 800
ribbon:
ReadTimeout: 300000
@ -171,4 +177,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@

8
epmet-module/gov-access/gov-access-server/src/main/resources/bootstrap.yml

@ -112,6 +112,12 @@ hystrix:
isolation:
thread:
timeoutInMilliseconds: 60000 #缺省为1000
threadpool:
default:
coreSize: 20
maximumSize: 50
maxQueueSize: 500
queueSizeRejectionThreshold: 800
ribbon:
ReadTimeout: 300000
@ -141,4 +147,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@

6
epmet-module/gov-org/gov-org-server/src/main/resources/bootstrap.yml

@ -127,6 +127,12 @@ hystrix:
isolation:
thread:
timeoutInMilliseconds: 60000 #缺省为1000
threadpool:
default:
coreSize: 20
maximumSize: 50
maxQueueSize: 500
queueSizeRejectionThreshold: 800
ribbon:
ReadTimeout: 300000

8
epmet-user/epmet-user-server/src/main/resources/bootstrap.yml

@ -132,6 +132,12 @@ hystrix:
isolation:
thread:
timeoutInMilliseconds: 60000 #缺省为1000
threadpool:
default:
coreSize: 20
maximumSize: 50
maxQueueSize: 500
queueSizeRejectionThreshold: 800
ribbon:
ReadTimeout: 300000
@ -175,4 +181,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@

Loading…
Cancel
Save