Skip to content

Commit

Permalink
Adds TODOs referencing #3744.
Browse files Browse the repository at this point in the history
  • Loading branch information
slackpad committed Dec 13, 2017
1 parent 2892f91 commit 46742a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agent/config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions agent/consul/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 46742a5

Please sign in to comment.