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