Skip to content

Commit c93b3e0

Browse files
Apply suggestion from @atakavci
Co-authored-by: atakavci <[email protected]>
1 parent 0bee643 commit c93b3e0

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
@@ -202,7 +202,7 @@ the circuit breaker:
202202

203203
| Builder method | Default value | Description|
204204
| --- | --- | --- |
205-
| `slidingWindowSize()` | `2` | Number of calls to keep in the sliding window. |
205+
| `slidingWindowSize()` | `2` | Duration in seconds to keep failures and successes in the sliding window. |
206206
| `minNumOfFailures()` | `1000` | Minimum number of failures that must occur before the circuit breaker is tripped. |
207207
| `failureRateThreshold()` | `10.0f` | Percentage of failures to trigger the circuit breaker. |
208208
| `includedExceptionList()` | See description | `List` of `Throwable` classes that should be considered as failures. By default, it includes just `JedisConnectionException`. |

0 commit comments

Comments
 (0)