diff --git a/server/config/config.go b/server/config/config.go index 2ea09aaeb79c..51939ec3d272 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -260,7 +260,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 6057a549c690..dc00dbca6592 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.