mirror of https://github.com/status-im/consul.git
GH-8728 add raft default values
This commit is contained in:
parent
2bb846fee5
commit
00ca99bf67
|
@ -125,6 +125,9 @@ func DefaultSource() Source {
|
|||
filter_default = true
|
||||
prefix_filter = []
|
||||
}
|
||||
raft_snapshot_threshold = ` + strconv.Itoa(int(cfg.RaftConfig.SnapshotThreshold)) + `
|
||||
raft_snapshot_interval = "` + cfg.RaftConfig.SnapshotInterval.String() + `"
|
||||
raft_trailing_logs = ` + strconv.Itoa(int(cfg.RaftConfig.TrailingLogs)) + `
|
||||
|
||||
`,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue