Skip to content

Commit

Permalink
enable check blocker as default
Browse files Browse the repository at this point in the history
  • Loading branch information
caffeinated92 committed Jul 16, 2024
1 parent 766720c commit 0fd6220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func (repman *ReplicationManager) AddFlags(flags *pflag.FlagSet, conf *config.Co
flags.IntVar(&conf.CheckFalsePositiveExternalPort, "failover-falsepositive-external-port", 80, "Failover checks external port")
flags.IntVar(&conf.MaxFail, "failover-falsepositive-ping-counter", 5, "Failover after this number of ping failures (interval 1s)")
flags.IntVar(&conf.FailoverLogFileKeep, "failover-log-file-keep", 5, "Purge log files taken during failover")
flags.BoolVar(&conf.FailoverCheckBlocker, "failover-check-blocker", false, "Failover checks for replication bug")
flags.BoolVar(&conf.FailoverCheckBlocker, "failover-check-blocker", true, "Failover checks for replication bug")

flags.BoolVar(&conf.FailoverCheckDelayStat, "failover-check-delay-stat", false, "Use delay avg statistic for failover decision")
flags.BoolVar(&conf.DelayStatCapture, "delay-stat-capture", false, "Capture hourly statistic for delay average")
Expand Down

0 comments on commit 0fd6220

Please sign in to comment.