mirror of https://github.com/status-im/consul.git
consul: Increase default reap time to 3 days
This commit is contained in:
parent
c7d27cf424
commit
73b6ac322b
|
@ -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