diff --git a/server/config/config.go b/server/config/config.go index 8bf29fbd9278..da2d6d15f0d4 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -294,7 +294,7 @@ func DefaultConfig() *Config { PruningInterval: "0", MinRetainBlocks: 0, IndexEvents: make([]string, 0), - IAVLCacheSize: 781250, // 50 MB + IAVLCacheSize: 781250, IAVLDisableFastNode: false, AppDBBackend: "", }, diff --git a/server/config/toml.go b/server/config/toml.go index 967fea563c3c..7e9ad9771bdd 100644 --- a/server/config/toml.go +++ b/server/config/toml.go @@ -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.