diff --git a/src/diehard/circuit_breaker.clj b/src/diehard/circuit_breaker.clj index 61784c5..b7cdc78 100644 --- a/src/diehard/circuit_breaker.clj +++ b/src/diehard/circuit_breaker.clj @@ -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 diff --git a/src/diehard/core.clj b/src/diehard/core.clj index 161c18c..625b5a5 100644 --- a/src/diehard/core.clj +++ b/src/diehard/core.clj @@ -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