Resilience4j 断路器 Spring 启动 2
Resilience4j Circuit Breaker Spring Boot 2
断路器会无限期地处于闭合或半开状态,直到达到最小调用次数,对吧?有什么办法可以设置在没有通话的时间内它会变成关闭状态吗?在半开状态下,最小呼叫数是否可能大于允许的呼叫数?谢谢
is there any way I can set when no call in amount of time it will turned to close state?
没有。在 v1.6.0 中,我们将添加一个 waitDurationInHalfOpenState
配置参数,但是在等待时间结束并且没有足够的调用被记录后,CircuitBreaker 转换为 OPEN 而不是 CLOSED。
is it possible to have minimum number of calls bigger than permitted number of calls in half open state
不,minimumNumberOfCalls
仅在CircuitBreaker关闭时使用。 permittedNumberOfCallsInHalfOpenState
仅在 CircuitBreake
时使用
断路器会无限期地处于闭合或半开状态,直到达到最小调用次数,对吧?有什么办法可以设置在没有通话的时间内它会变成关闭状态吗?在半开状态下,最小呼叫数是否可能大于允许的呼叫数?谢谢
is there any way I can set when no call in amount of time it will turned to close state?
没有。在 v1.6.0 中,我们将添加一个 waitDurationInHalfOpenState
配置参数,但是在等待时间结束并且没有足够的调用被记录后,CircuitBreaker 转换为 OPEN 而不是 CLOSED。
is it possible to have minimum number of calls bigger than permitted number of calls in half open state
不,minimumNumberOfCalls
仅在CircuitBreaker关闭时使用。 permittedNumberOfCallsInHalfOpenState
仅在 CircuitBreake