Fixed - retryAttempts and retryInterval settings don't apply to INFO_REPLICATION, SENTINEL_GET_MASTER_ADDR_BY_NAME, SENTINEL_SENTINELS, SENTINEL_SLAVES and CLUSTER_NODES commands. #4884, #5973, #5696

pull/6120/head
Nikita Koksharov 7 months ago
parent 95af622db2
commit ffecc9c64b

@ -204,7 +204,7 @@ public class ReplicatedConnectionManager extends MasterSlaveConnectionManager {
return CompletableFuture.<Map<String, String>>completedFuture(null);
}
return connection.async(cfg.getRetryAttempts(), cfg.getRetryInterval(), cfg.getTimeout(),
return connection.async(3, cfg.getRetryInterval(), cfg.getTimeout(),
StringCodec.INSTANCE, RedisCommands.INFO_REPLICATION);
})
.thenCompose(r -> {

Loading…
Cancel
Save