Browse Source

auth fegin添加线程池

master
jianjun 3 years ago
parent
commit
487536a69e
  1. 8
      epmet-auth/src/main/resources/bootstrap.yml

8
epmet-auth/src/main/resources/bootstrap.yml

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