Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8609e681
Commit
8609e681
authored
Mar 16, 2020
by
antirez
Browse files
Example sentinel conf: document requirepass.
parent
573c4673
Changes
1
Hide whitespace changes
Inline
Side-by-side
sentinel.conf
View file @
8609e681
...
@@ -112,6 +112,14 @@ sentinel monitor mymaster 127.0.0.1 6379 2
...
@@ -112,6 +112,14 @@ sentinel monitor mymaster 127.0.0.1 6379 2
# Default is 30 seconds.
# Default is 30 seconds.
sentinel
down
-
after
-
milliseconds
mymaster
30000
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>
# sentinel parallel-syncs <master-name> <numreplicas>
#
#
# How many replicas we can reconfigure to point to the new replica simultaneously
# How many replicas we can reconfigure to point to the new replica simultaneously
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment