- 0
- 0
- 约4.75千字
- 约 6页
- 2026-11-04 发布于北京
- 举报
Hystrix参数说明|
end▁of▁sentence|
参见
|end▁of▁sentence|
1.
命令|end▁of▁
sentence|
配置HystrixCommand的属性|end▁of▁
sentence|
1.1.
执行控制
HystrixCommand.run()
的执行策略|end▁of▁sentence|
execution.isolation.strategy|end▁of▁
sentence|
执行策略:THREAD每次在一个线程中执行,并发请求数限制于线程池的
线程数SEMAPHORE在调用线程中执行,并发请求数限制于semaphore信号
量的值Thread是默认推荐的选择。
execution.isolation.thread.timeoutInMilliseconds超时时间,默认
1000mecution.timeout.enabled是否开启超时,默认
trueexecution.
原创力文档

文档评论(0)