summaryrefslogtreecommitdiffstats
path: root/tests/sentinel/tests/includes/sentinel.conf
blob: 127523666dea20c0596960b0ea20ce3b8f89b1cd (plain)
1
2
3
4
5
6
7
8
9
# assume master is down after being unresponsive for 20s
sentinel down-after-milliseconds setmaster 20000
# reconfigure one slave at a time
sentinel parallel-syncs setmaster 2
# wait for 4m before assuming failover went wrong
sentinel failover-timeout setmaster 240000
# monitoring set
sentinel monitor setmaster 10.0.0.1 30000 2