Close connections before closing the whole cluster client.
This commit is contained in:
parent
bf1b00b163
commit
e0f8a28f38
|
@ -56,6 +56,9 @@ public class FaultTolerantRedisCluster {
|
|||
}
|
||||
|
||||
void shutdown() {
|
||||
stringClusterConnection.close();
|
||||
binaryClusterConnection.close();
|
||||
|
||||
clusterClient.shutdown();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue