Skip to content

Commit

Permalink
docs: remove default iavl-cache-size invalid value (#14486)
Browse files Browse the repository at this point in the history
(cherry picked from commit 465e0f6)
  • Loading branch information
mdumais-stratos authored and mergify[bot] committed Jan 5, 2023
1 parent b659774 commit 5628f01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func DefaultConfig() *Config {
PruningInterval: "0",
MinRetainBlocks: 0,
IndexEvents: make([]string, 0),
IAVLCacheSize: 781250, // 50 MB
IAVLCacheSize: 781250,
IAVLDisableFastNode: false,
AppDBBackend: "",
},
Expand Down
3 changes: 1 addition & 2 deletions server/config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ inter-block-cache = {{ .BaseConfig.InterBlockCache }}
# ["message.sender", "message.recipient"]
index-events = [{{ range .BaseConfig.IndexEvents }}{{ printf "%q, " . }}{{end}}]
# IavlCacheSize set the size of the iavl tree cache.
# Default cache size is 50mb.
# IavlCacheSize set the size of the iavl tree cache (in number of nodes).
iavl-cache-size = {{ .BaseConfig.IAVLCacheSize }}
# IAVLDisableFastNode enables or disables the fast node feature of IAVL.
Expand Down

0 comments on commit 5628f01

Please sign in to comment.