GH-8728 add raft default values

This commit is contained in:
Joshua Shanks 2020-10-03 16:27:03 -07:00 committed by Daniel Nephin
parent 2730185ac6
commit 9e4051ec65
1 changed files with 3 additions and 0 deletions

View File

@ -125,6 +125,9 @@ func DefaultSource() Source {
filter_default = true filter_default = true
prefix_filter = [] 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)) + `
`, `,
} }