优化熔断器信号量并发值

This commit is contained in:
ajaxfan
2021-05-19 17:19:53 +08:00
parent e7b487ea06
commit d0d0a3c097

View File

@ -12,6 +12,7 @@ hystrix.threadpool.default.allowMaximumSizeToDivergeFromCoreSize=true
# 如果使用信号量模式,最大允许并发请求数
hystrix.command.default.execution.isolation.semaphore.maxConcurrentRequests=1000
hystrix.command.default.fallback.isolation.semaphore.maxConcurrentRequests=1000
# 默认使用线程池模式
hystrix.command.default.execution.isolation.strategy=THREAD