zuul 配置优化

This commit is contained in:
zlt
2019-03-17 20:45:39 +08:00
parent 16ddb3fcba
commit 0bb2d1e492
4 changed files with 18 additions and 14 deletions
@@ -115,6 +115,20 @@ zuul:
strip-prefix: true
ssl-hostname-validation-enabled: false
hystrix:
threadpool:
default:
coreSize: 100
maximumSize: 2000
allowMaximumSizeToDivergeFromCoreSize: true
maxQueueSize: -1
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 60000
swagger:
butler:
api-docs-path: v2/api-docs
@@ -1,8 +1,6 @@
server:
port: 9900
undertow:
io-threads: 16
worker-threads: 256
buffer-size: 1024
direct-buffers: true