2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-23 10:38:01 +00:00

check connection in JedisClusterSummoner too

This commit is contained in:
mohammed jasem alaajel 2022-07-17 05:40:32 +04:00
parent b0ab5e3cb4
commit f1f74b6456

View File

@ -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