限流的时候报错,想问下大神怎么解决
来源:10-6 hystrix断路器线程池方式限流

慕粉3347051
2020-01-05
上图就是结果树
上图就是聚合报告
这是我的Hystrix配置
@HystrixCommand(
commandKey = “createOrder”,
commandProperties = {
@HystrixProperty(name = “execution.timeout.enabled”,value = “true”),
@HystrixProperty(name = “execution.isolation.thread.timeoutInMilliseconds”,value = “30000”),
@HystrixProperty(
name=“execution.isolation.strategy”,
value = “THREAD”
),},
threadPoolKey = “createOrderThreadPool”,
threadPoolProperties = {
@HystrixProperty(name=“coreSize”,value = “10”),
@HystrixProperty(name=“maxQueueSize”,value = “20000”),
@HystrixProperty(name=“queueSizeRejectionThreshold”,value = “30”),
},
fallbackMethod = “createOrderfallbackMethod4Thread”
)
写回答
1回答
-
阿神
2020-01-05
什么错误,不是正常
么,限流走fallback032020-01-05
相似问题