Skip to content

Commit 0bee643

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

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
@@ -172,7 +172,7 @@ multiConfig
172172
.build())
173173
.failbackSupported(true) // Enable failback
174174
.failbackCheckInterval(120000) // Check every 2 minutes the unhealthy database to see if it has recovered
175-
.gracePeriod(10000) // Keep database disabled for 10 seconds after it becomes unhealthy
175+
.gracePeriod(60000) // Keep database disabled for 60 seconds after it becomes unhealthy
176176
// Optional: configure retry settings
177177
.commandRetry(MultiDbConfig.RetryConfig.builder()
178178
.maxAttempts(3) // Maximum number of retry attempts (including the initial call)

0 commit comments

Comments
 (0)