Skip to content

Commit

Permalink
Example sentinel conf: document requirepass.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Mar 16, 2020
1 parent 573c467 commit 8609e68
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sentinel.conf
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ sentinel monitor mymaster 127.0.0.1 6379 2
# Default is 30 seconds.
sentinel down-after-milliseconds mymaster 30000

# requirepass <password>
#
# You can configure Sentinel itself to require a password, however when doing
# so Sentinel will try to authenticate with the same password to all the
# other Sentinels. So you need to configure all your Sentinels in a given
# group with the same "requirepass" password. Check the following documentation
# for more info: https://redis.io/topics/sentinel

# sentinel parallel-syncs <master-name> <numreplicas>
#
# How many replicas we can reconfigure to point to the new replica simultaneously
Expand Down

0 comments on commit 8609e68

Please sign in to comment.