consul: Increase default reap time to 3 days
This commit is contained in:
parent
4a2b7e5e39
commit
fad79e1f8e
|
@ -116,6 +116,10 @@ func DefaultConfig() *Config {
|
|||
ProtocolVersion: ProtocolVersionMax,
|
||||
}
|
||||
|
||||
// Increase our reap interval to 3 days instead of 24h.
|
||||
conf.SerfLANConfig.ReconnectTimeout = 3 * 24 * time.Hour
|
||||
conf.SerfWANConfig.ReconnectTimeout = 3 * 24 * time.Hour
|
||||
|
||||
// WAN Serf should use the WAN timing, since we are using it
|
||||
// to communicate between DC's
|
||||
conf.SerfWANConfig.MemberlistConfig = memberlist.DefaultWANConfig()
|
||||
|
|
Loading…
Reference in New Issue