Skip to content

Instantly share code, notes, and snippets.

@daaray
Created August 16, 2013 15:28
Show Gist options
  • Save daaray/6250888 to your computer and use it in GitHub Desktop.
Save daaray/6250888 to your computer and use it in GitHub Desktop.
Minimum configuration for using Redis Sentinel in a local development environment.
port 26379 # or a custom port
sentinel monitor redis-Redis1 127.0.0.1 6379 2
sentinel down-after-milliseconds redis-Redis1 60000
sentinel failover-timeout redis-Redis1 900000
sentinel can-failover redis-Redis1 yes
sentinel parallel-syncs redis-Redis1 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment