Skip to content

Commit

Permalink
docs: remove default iavl-cache-size invalid value (backport #14486) (#…
Browse files Browse the repository at this point in the history
…14517)

Co-authored-by: Marc-Antoine Dumais <62179452+mdumais-stratos@users.noreply.github.com>
  • Loading branch information
mergify[bot] and mdumais-stratos committed Jan 5, 2023
1 parent b659774 commit 72005f9
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 72005f9

Please sign in to comment.