Skip to content

Commit df7c2c3

Browse files
Apply suggestion from @atakavci
Co-authored-by: atakavci <[email protected]>
1 parent 9753d5d commit df7c2c3

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
@@ -171,7 +171,7 @@ multiConfig
171171
.minNumOfFailures(1000) // Minimum number of failures before circuit breaker is tripped
172172
.build())
173173
.failbackSupported(true) // Enable failback
174-
.failbackCheckInterval(1000) // Check every second the unhealthy database to see if it has recovered
174+
.failbackCheckInterval(120000) // Check every 2 minutes the unhealthy database to see if it has recovered
175175
.gracePeriod(10000) // Keep database disabled for 10 seconds after it becomes unhealthy
176176
// Optional: configure retry settings
177177
.commandRetry(MultiDbConfig.RetryConfig.builder()

0 commit comments

Comments
 (0)