chore: change versa config'

This commit is contained in:
joeylichang 2024-09-28 07:39:25 +08:00
parent 6252589246
commit ed573ee1a8

@ -38,7 +38,7 @@ func New(config *Config) *VersionDB {
_ = cfg _ = cfg
} }
db, err := versa.NewVersaDB(path, &versa.VersaDBConfig{ db, err := versa.NewVersaDB(path, &versa.VersaDBConfig{
FlushInterval: 2000, FlushInterval: 10000,
MaxStatesInMem: 128, MaxStatesInMem: 128,
MemLowWaterMark: 40, MemLowWaterMark: 40,
MemHighWaterMark: 60, MemHighWaterMark: 60,