File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ codis-server:
32
32
@cp -f extern/redis-3.2.8/src/redis-cli bin/
33
33
@cp -f extern/redis-3.2.8/redis.conf config/
34
34
@cp -f extern/redis-3.2.8/sentinel.conf config/
35
+ @sed -e " s/^sentinel/# sentinel/g" config/sentinel.conf -i
35
36
36
37
clean-gotest :
37
38
@rm -rf ./pkg/topom/gotest.tmp
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ dir /tmp
66
66
#
67
67
# Note: master name should not include special characters or spaces.
68
68
# The valid charset is A-z 0-9 and the three characters ".-_".
69
- sentinel monitor mymaster 127.0.0.1 6379 2
69
+ # sentinel monitor mymaster 127.0.0.1 6379 2
70
70
71
71
# sentinel auth-pass <master-name> <password>
72
72
#
@@ -95,15 +95,15 @@ sentinel monitor mymaster 127.0.0.1 6379 2
95
95
# Down).
96
96
#
97
97
# Default is 30 seconds.
98
- sentinel down-after-milliseconds mymaster 30000
98
+ # sentinel down-after-milliseconds mymaster 30000
99
99
100
100
# sentinel parallel-syncs <master-name> <numslaves>
101
101
#
102
102
# How many slaves we can reconfigure to point to the new slave simultaneously
103
103
# during the failover. Use a low number if you use the slaves to serve query
104
104
# to avoid that all the slaves will be unreachable at about the same
105
105
# time while performing the synchronization with the master.
106
- sentinel parallel-syncs mymaster 1
106
+ # sentinel parallel-syncs mymaster 1
107
107
108
108
# sentinel failover-timeout <master-name> <milliseconds>
109
109
#
@@ -128,7 +128,7 @@ sentinel parallel-syncs mymaster 1
128
128
# the exact parallel-syncs progression as specified.
129
129
#
130
130
# Default is 3 minutes.
131
- sentinel failover-timeout mymaster 180000
131
+ # sentinel failover-timeout mymaster 180000
132
132
133
133
# SCRIPTS EXECUTION
134
134
#
You can’t perform that action at this time.
0 commit comments