优化熔断器信号量并发值
This commit is contained in:
@ -12,6 +12,7 @@ hystrix.threadpool.default.allowMaximumSizeToDivergeFromCoreSize=true
|
|||||||
|
|
||||||
# 如果使用信号量模式,最大允许并发请求数
|
# 如果使用信号量模式,最大允许并发请求数
|
||||||
hystrix.command.default.execution.isolation.semaphore.maxConcurrentRequests=1000
|
hystrix.command.default.execution.isolation.semaphore.maxConcurrentRequests=1000
|
||||||
|
hystrix.command.default.fallback.isolation.semaphore.maxConcurrentRequests=1000
|
||||||
|
|
||||||
# 默认使用线程池模式
|
# 默认使用线程池模式
|
||||||
hystrix.command.default.execution.isolation.strategy=THREAD
|
hystrix.command.default.execution.isolation.strategy=THREAD
|
||||||
|
Reference in New Issue
Block a user