英文:
What happens if there are less calls than the number in permittedNumberOfCallsInHalfOpenState during the maxWaitDurationInHalfOpenState?
问题
如果在maxWaitDurationInHalfOpenState
期间的半开状态中的调用次数少于permittedNumberOfCallsInHalfOpenState
,文档中没有找到此信息,那么会发生什么情况?它会根据已经发出的调用计算失败率,还是会回到开放状态?
英文:
did not find this information elsewhere in the documentation, what happens if there are less calls than the number in permittedNumberOfCallsInHalfOpenState during the maxWaitDurationInHalfOpenState? does it calculate failure rate from the made calls or it goes back to open state?
答案1
得分: 2
如果有人搜索这个,经过测试,所以如果在maxWaitDurationInHalfOpenState
结束之前没有达到permittedNumberOfCallsInHalfOpenState
,断路器将返回到开放状态。
英文:
In case anyone will be searcing for this, tested it, so if it does not reach the permittedNumberOfCallsInHalfOpenState until maxWaitDurationInHalfOpenState is over, the circuit breaker goes back to open state.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论