Skip to content

Commit

Permalink
fix typo comment of circuitbreaker (#2637)
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryJung committed Jan 13, 2022
1 parent b5a3d0e commit e210f7a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -30,7 +30,7 @@ import kotlin.time.ExperimentalTime
* - All requests short-circuit/fail-fast with `ExecutionRejected`
* - If a request is made after the configured [resetTimeout] passes, the [CircuitBreaker] is tripped into the a [HalfOpen] state, allowing one request to go through as a test.
*
* 3. [HalfOpen]: The [CircuitBreaker] is in this state while it's allowing a request to go through, as as a `test request`
* 3. [HalfOpen]: The [CircuitBreaker] is in this state while it's allowing a request to go through, as a `test request`
* - All other requests made while `test request` is still running will short-circuit/fail-fast.
* - If the `test request` succeeds then the [CircuitBreaker] is tripped back into [Closed], with the resetTimeout and the failures count also reset to initial values.
* - If the `test request` fails, then the [CircuitBreaker] is tripped back into [Open], the [resetTimeout] is multiplied by the [exponentialBackoffFactor], up to the configured [maxResetTimeout].
Expand Down

0 comments on commit e210f7a

Please sign in to comment.