You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/develop/clients/jedis/failover.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -202,7 +202,7 @@ the circuit breaker:
202
202
203
203
| Builder method | Default value | Description|
204
204
| --- | --- | --- |
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. |
206
206
|`minNumOfFailures()`|`1000`| Minimum number of failures that must occur before the circuit breaker is tripped. |
207
207
|`failureRateThreshold()`|`10.0f`| Percentage of failures to trigger the circuit breaker. |
208
208
|`includedExceptionList()`| See description |`List` of `Throwable` classes that should be considered as failures. By default, it includes just `JedisConnectionException`. |
0 commit comments