redis哨兵配置有什么不对吗?
JedisSentinelPool : {
type : "redis.clients.jedis.JedisSentinelPool",
args : [
{java : "$conf.get('redis.master.host', 'master-1')"},
// 从配置文件中读取redis服务器信息
[
{java:"$conf.get('redis.sentinel.host', '')"},
],
{refer : "jedisPoolConfig"},
{java : "$conf.get('redis.sentinel.timeout', '')"},
{java : "$conf.get('redis.sentinel.password', '')"},
{java : "$conf.get('redis.sentinel.database', '')"},
],
fields : {},
events : {
depose : "destroy" // 关闭应用时必须关掉呢
}
},