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"
|
||||
tls_min_version = "tls10"
|
||||
|
||||
// TODO (slackpad) - Until #3744 is done, we need to keep these
|
||||
// in sync with agent/consul/config.go.
|
||||
autopilot = {
|
||||
cleanup_dead_servers = true
|
||||
last_contact_threshold = "200ms"
|
||||
|
|
|
@ -416,12 +416,15 @@ func DefaultConfig() *Config {
|
|||
|
||||
TLSMinVersion: "tls10",
|
||||
|
||||
// TODO (slackpad) - Until #3744 is done, we need to keep these
|
||||
// in sync with agent/config/default.go.
|
||||
AutopilotConfig: &structs.AutopilotConfig{
|
||||
CleanupDeadServers: true,
|
||||
LastContactThreshold: 200 * time.Millisecond,
|
||||
MaxTrailingLogs: 250,
|
||||
ServerStabilizationTime: 10 * time.Second,
|
||||
},
|
||||
|
||||
ServerHealthInterval: 2 * time.Second,
|
||||
AutopilotInterval: 10 * time.Second,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue