Skip to content

Commit

Permalink
doc: remove obsolute timeout option for circuitbreaker
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Oct 9, 2024
1 parent f9fb095 commit 1af9762
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/diehard/circuit_breaker.clj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#{:failure-threshold :failure-threshold-ratio :failure-threshold-ratio-in-period
:failure-rate-threshold-in-period
:success-threshold :success-threshold-ratio
:delay-ms :timeout-ms
:delay-ms

:fail-if :fail-on :fail-when

Expand Down
4 changes: 0 additions & 4 deletions src/diehard/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,6 @@ retry block.
* `:fail-if`
* `:fail-on`
* `:fail-when`
* `:timeout-ms` while give all you code a timeout is best practice in
application level, circuit breaker also provides a timeout for
marking a long running block as failure
##### Delay and threshold
Expand Down

0 comments on commit 1af9762

Please sign in to comment.