Skip to content

Commit

Permalink
Sentinel example config: explain you don't need to specify slaves.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed May 26, 2014
1 parent d0566da commit 69fa133
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sentinel.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ dir /tmp
# be elected by the majority of the known Sentinels in order to
# start a failover, so no failover can be performed in minority.
#
# Slaves are auto-discovered, so you don't need to specify slaves in
# any way. Sentinel itself will rewrite this configuration file adding
# the slaves using additional configuration options.
# Also note that the configuration file is rewritten when a
# slave is promoted to master.
#
# Note: master name should not include special characters or spaces.
# The valid charset is A-z 0-9 and the three characters ".-_".
sentinel monitor mymaster 127.0.0.1 6379 2
Expand Down

0 comments on commit 69fa133

Please sign in to comment.