From 9e4051ec65d372e735c8a9e8bcdd6213d7c643b9 Mon Sep 17 00:00:00 2001 From: Joshua Shanks Date: Sat, 3 Oct 2020 16:27:03 -0700 Subject: [PATCH] GH-8728 add raft default values --- agent/config/default.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agent/config/default.go b/agent/config/default.go index d2c2a2e40..17e769c4a 100644 --- a/agent/config/default.go +++ b/agent/config/default.go @@ -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)) + ` `, }