diff --git a/triedb/versiondb/versadb.go b/triedb/versiondb/versadb.go index 95ac82d7d3..677ff5281c 100644 --- a/triedb/versiondb/versadb.go +++ b/triedb/versiondb/versadb.go @@ -29,8 +29,11 @@ func New(config *Config) *VersionDB { if config != nil { path = config.Path cfg = &versa.VersaDBConfig{ - FlushInterval: config.FlushInterval, - MaxStatesInMem: config.MaxStatesInMem, + FlushInterval: 2000, + MaxStatesInMem: config.MaxStatesInMem, + MemLowWaterMark: 40, + MemHighWaterMark: 60, + MemEvictInternal: 200, } } db, err := versa.NewVersaDB(path, cfg)