mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-22 20:28:00 +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) {
|
||||
this.jedisCluster = jedisCluster;
|
||||
// test the connection
|
||||
jedisCluster.set("random_data", "0");
|
||||
jedisCluster.del("random_data");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user