|
|
@ -30,7 +30,6 @@ import org.redisson.client.RedisClient;
|
|
|
|
import org.redisson.client.RedisConnection;
|
|
|
|
import org.redisson.client.RedisConnection;
|
|
|
|
import org.redisson.client.RedisConnectionException;
|
|
|
|
import org.redisson.client.RedisConnectionException;
|
|
|
|
import org.redisson.client.RedisPubSubConnection;
|
|
|
|
import org.redisson.client.RedisPubSubConnection;
|
|
|
|
import org.redisson.client.codec.Codec;
|
|
|
|
|
|
|
|
import org.redisson.client.codec.StringCodec;
|
|
|
|
import org.redisson.client.codec.StringCodec;
|
|
|
|
import org.redisson.client.protocol.RedisCommands;
|
|
|
|
import org.redisson.client.protocol.RedisCommands;
|
|
|
|
import org.redisson.client.protocol.pubsub.PubSubType;
|
|
|
|
import org.redisson.client.protocol.pubsub.PubSubType;
|
|
|
@ -105,7 +104,6 @@ public class SentinelConnectionManager extends MasterSlaveConnectionManager {
|
|
|
|
disconnectedSlaves.add(host);
|
|
|
|
disconnectedSlaves.add(host);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
} catch (RedisConnectionException e) {
|
|
|
|
} catch (RedisConnectionException e) {
|
|
|
|
log.warn("can't connect to sentinel", e);
|
|
|
|
log.warn("can't connect to sentinel", e);
|
|
|
|