SpringCloud高并发配置

ribbon:
OkToRetryOnAllOperations: true
MaxAutoRetries: 1
ReadTimeout: 60000
ConnectTimeout: 60000


hystrix:
threadpool:
default:
coreSize: 1000
command:
default:
circuitBreaker:
requestVolumeThreshold: 1000
execution:
timeout:
enabled: true
isolation:
thread:
#发生熔断的超时时间, 根据ribbon配置调整
timeoutInMilliseconds: 480000
posted @ 2021-11-25 17:08  苏黎世湖畔  阅读(288)  评论(0编辑  收藏  举报