소스 검색

sdadsfadsfadsf

rubyangxg 4 년 전
부모
커밋
8e3f5ce479
3개의 변경된 파일18개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      redis-sentinel/sentinel/sentinel1.conf
  2. 6 0
      redis-sentinel/sentinel/sentinel2.conf
  3. 6 0
      redis-sentinel/sentinel/sentinel3.conf

+ 6 - 0
redis-sentinel/sentinel/sentinel1.conf

@@ -1,5 +1,11 @@
 port 26379
 dir "/tmp"
+
+sentinel down-after-milliseconds mymaster 5000
+sentinel parallel-syncs mymaster 1
+sentinel failover-timeout mymaster 5000
+sentinel deny-scripts-reconfig yes
+
 sentinel myid c1d5bc05ab479807f24dc73a3bfd6f62986bd48c
 sentinel deny-scripts-reconfig yes
 sentinel monitor mymaster 10.26.30.216 6480 2

+ 6 - 0
redis-sentinel/sentinel/sentinel2.conf

@@ -1,5 +1,11 @@
 port 26379
 dir "/tmp"
+
+sentinel down-after-milliseconds mymaster 5000
+sentinel parallel-syncs mymaster 1
+sentinel failover-timeout mymaster 5000
+sentinel deny-scripts-reconfig yes
+
 sentinel myid 082905d0d92e8af9839b771183a29feeda2bff46
 sentinel deny-scripts-reconfig yes
 sentinel monitor mymaster 10.26.30.216 6480 2

+ 6 - 0
redis-sentinel/sentinel/sentinel3.conf

@@ -1,5 +1,11 @@
 port 26379
 dir "/tmp"
+
+sentinel down-after-milliseconds mymaster 5000
+sentinel parallel-syncs mymaster 1
+sentinel failover-timeout mymaster 5000
+sentinel deny-scripts-reconfig yes
+
 sentinel myid 5cf8ce9e522b640c18be002f39895df8843ea1d8
 sentinel deny-scripts-reconfig yes
 sentinel monitor mymaster 10.26.30.216 6480 2