更改redis集群连接方式并优化
This commit is contained in:
@@ -150,9 +150,11 @@ redis.timeout=100000
|
||||
#一般当此值设置过大时,容易报:Too many Cluster redirections
|
||||
redis.maxRedirects=3
|
||||
|
||||
|
||||
cluster1.host.port=192.168.10.205:7031
|
||||
cluster2.host.port=192.168.10.205:7032
|
||||
cluster3.host.port=192.168.10.205:7033
|
||||
cluster4.host.port=192.168.10.205:7034
|
||||
cluster5.host.port=192.168.10.205:7035
|
||||
#3A-redis集群配置
|
||||
redis.cluster.host1=192.168.10.205
|
||||
redis.cluster.port1:7031
|
||||
redis.cluster.port2:7032
|
||||
redis.cluster.port3:7033
|
||||
redis.cluster.port4:7034
|
||||
redis.cluster.port5:7035
|
||||
redis.cluster.port6:7036
|
||||
Reference in New Issue
Block a user