2023-10-02 15:27:31 +00:00
|
|
|
## redis cluster server pool define
|
|
|
|
|
|
|
|
ClusterServerPool {
|
|
|
|
MasterReadPriority 60
|
|
|
|
StaticSlaveReadPriority 50
|
|
|
|
DynamicSlaveReadPriority 50
|
|
|
|
RefreshInterval 1
|
|
|
|
ServerTimeout 1
|
|
|
|
ServerFailureLimit 10
|
|
|
|
ServerRetryTimeout 1
|
|
|
|
KeepAlive 120
|
|
|
|
Servers {
|
2023-10-02 16:16:26 +00:00
|
|
|
+ redis-node1.ungleich.cloud:6379
|
|
|
|
+ redis-node2.ungleich.cloud:6379
|
|
|
|
+ redis-node3.ungleich.cloud:6379
|
|
|
|
+ redis-node1.ungleich.cloud:6479
|
|
|
|
+ redis-node2.ungleich.cloud:6479
|
|
|
|
+ redis-node3.ungleich.cloud:6479
|
2023-10-02 15:27:31 +00:00
|
|
|
}
|
|
|
|
}
|