Skip to content

Commit

Permalink
Add keepAlive(true) to testing Redis CF
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Jun 24, 2020
1 parent 9495685 commit 6a3bea5
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -52,6 +52,7 @@ protected static void setupConnectionFactory() {
.socketOptions(
SocketOptions.builder()
.connectTimeout(Duration.ofMillis(10000))
.keepAlive(true)
.build())
.build())
.commandTimeout(Duration.ofSeconds(10000))
Expand Down

0 comments on commit 6a3bea5

Please sign in to comment.