mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-23 04:28:01 +00:00
check connection in JedisClusterSummoner too
This commit is contained in:
parent
b0ab5e3cb4
commit
f1f74b6456
@ -10,6 +10,9 @@ public class ClusterJedisSummoner implements Summoner<JedisCluster> {
|
|||||||
|
|
||||||
public ClusterJedisSummoner(JedisCluster jedisCluster) {
|
public ClusterJedisSummoner(JedisCluster jedisCluster) {
|
||||||
this.jedisCluster = jedisCluster;
|
this.jedisCluster = jedisCluster;
|
||||||
|
// test the connection
|
||||||
|
jedisCluster.set("random_data", "0");
|
||||||
|
jedisCluster.del("random_data");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user