docs: remove default iavl-cache-size invalid value (#14486)

This commit is contained in:
Marc-Antoine Dumais
2023-01-05 21:24:00 +00:00
committed by GitHub
parent 3e2dde54c5
commit 465e0f6199
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ func DefaultConfig() *Config {
PruningInterval: "0",
MinRetainBlocks: 0,
IndexEvents: make([]string, 0),
IAVLCacheSize: 781250, // 50 MB
IAVLCacheSize: 781250,
IAVLDisableFastNode: false,
AppDBBackend: "",
},
+1 -2
View File
@@ -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.