mirror of https://github.com/status-im/consul.git
Adds TODOs referencing #3744.
This commit is contained in:
parent
2892f91d0b
commit
46742a5041
|
@ -54,6 +54,8 @@ func DefaultSource() Source {
|
||||||
syslog_facility = "LOCAL0"
|
syslog_facility = "LOCAL0"
|
||||||
tls_min_version = "tls10"
|
tls_min_version = "tls10"
|
||||||
|
|
||||||
|
// TODO (slackpad) - Until #3744 is done, we need to keep these
|
||||||
|
// in sync with agent/consul/config.go.
|
||||||
autopilot = {
|
autopilot = {
|
||||||
cleanup_dead_servers = true
|
cleanup_dead_servers = true
|
||||||
last_contact_threshold = "200ms"
|
last_contact_threshold = "200ms"
|
||||||
|
|
|
@ -416,12 +416,15 @@ func DefaultConfig() *Config {
|
||||||
|
|
||||||
TLSMinVersion: "tls10",
|
TLSMinVersion: "tls10",
|
||||||
|
|
||||||
|
// TODO (slackpad) - Until #3744 is done, we need to keep these
|
||||||
|
// in sync with agent/config/default.go.
|
||||||
AutopilotConfig: &structs.AutopilotConfig{
|
AutopilotConfig: &structs.AutopilotConfig{
|
||||||
CleanupDeadServers: true,
|
CleanupDeadServers: true,
|
||||||
LastContactThreshold: 200 * time.Millisecond,
|
LastContactThreshold: 200 * time.Millisecond,
|
||||||
MaxTrailingLogs: 250,
|
MaxTrailingLogs: 250,
|
||||||
ServerStabilizationTime: 10 * time.Second,
|
ServerStabilizationTime: 10 * time.Second,
|
||||||
},
|
},
|
||||||
|
|
||||||
ServerHealthInterval: 2 * time.Second,
|
ServerHealthInterval: 2 * time.Second,
|
||||||
AutopilotInterval: 10 * time.Second,
|
AutopilotInterval: 10 * time.Second,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue