maxWaitDurationInHalfOpenState

Configures the maximum duration the circuit breaker will wait in the HalfOpen state before transitioning to the Open state automatically. If set to Duration.ZERO, the circuit breaker will wait indefinitely in the HalfOpen state until permittedNumberOfCallsInHalfOpenState is reached.