mirror of https://github.com/status-im/consul.git
Update for the new Serf config
This commit is contained in:
parent
5c874584be
commit
2cc64f3291
|
@ -71,8 +71,8 @@ func DefaultConfig() *Config {
|
||||||
conf.SerfWANConfig.MemberlistConfig = memberlist.DefaultWANConfig()
|
conf.SerfWANConfig.MemberlistConfig = memberlist.DefaultWANConfig()
|
||||||
|
|
||||||
// Ensure we don't have port conflicts
|
// Ensure we don't have port conflicts
|
||||||
conf.SerfLANConfig.MemberlistConfig.Port = DefaultLANSerfPort
|
conf.SerfLANConfig.MemberlistConfig.BindPort = DefaultLANSerfPort
|
||||||
conf.SerfWANConfig.MemberlistConfig.Port = DefaultWANSerfPort
|
conf.SerfWANConfig.MemberlistConfig.BindPort = DefaultWANSerfPort
|
||||||
|
|
||||||
// Disable shutdown on removal
|
// Disable shutdown on removal
|
||||||
conf.RaftConfig.ShutdownOnRemove = false
|
conf.RaftConfig.ShutdownOnRemove = false
|
||||||
|
|
Loading…
Reference in New Issue