mirror of
https://github.com/status-im/consul.git
synced 2025-02-03 09:24:25 +00:00
Merge pull request #8812 from jjshanks/GH-8728
GH-8728 add raft default values
This commit is contained in:
commit
ce5ef18911
3
.changelog/8812.txt
Normal file
3
.changelog/8812.txt
Normal file
@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
api: include the default value of raft settings in the output of /v1/agent/self
|
||||
```
|
@ -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…
x
Reference in New Issue
Block a user