Compare commits
No commits in common. "f658df4dca029643a90de685bf0847de4c1b08b9" and "9d43b8e23a38244fc9034e13520e1c081648c2cf" have entirely different histories.
f658df4dca
...
9d43b8e23a
|
@ -32,13 +32,13 @@ class RedisConfig(
|
|||
val clusterConfig = RedisClusterConfiguration()
|
||||
clusterConfig.clusterNode(host, port)
|
||||
|
||||
val clientOptions = ClientOptions.builder()
|
||||
.pingBeforeActivateConnection(true)
|
||||
.autoReconnect(true)
|
||||
.build()
|
||||
|
||||
val clientConfig = LettuceClientConfiguration.builder()
|
||||
.clientOptions(clientOptions)
|
||||
.clientOptions(
|
||||
ClientOptions.builder()
|
||||
.pingBeforeActivateConnection(true)
|
||||
.autoReconnect(true)
|
||||
.build()
|
||||
)
|
||||
.commandTimeout(Duration.ofSeconds(5))
|
||||
.shutdownTimeout(Duration.ofSeconds(5))
|
||||
.useSsl()
|
||||
|
|
Loading…
Reference in New Issue