chore: change versa config'
This commit is contained in:
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user