Skip to content

Commit 85587b2

Browse files
Apply suggestion from @atakavci
Co-authored-by: atakavci <[email protected]>
1 parent 7dd8072 commit 85587b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/develop/clients/jedis/failover.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ and [retries](#retry-configuration) (these are explained in more detail below).
167167
multiConfig
168168
.failureDetector(MultiDbConfig.CircuitBreakerConfig.builder()
169169
.slidingWindowSize(2) // Sliding window size as a duration in seconds.
170-
.failureRateThreshold(50.0f) // percentage of failures to trigger circuit breaker
170+
.failureRateThreshold(10.0f) // percentage of failures to trigger circuit breaker
171171
.minNumOfFailures(500) // Minimum number of failures before circuit breaker is tripped
172172
.build())
173173
.failbackSupported(true) // Enable failback

0 commit comments

Comments
 (0)