chore: change default config
This commit is contained in:
parent
7a0d393c0d
commit
46f6c75cc0
@ -29,7 +29,7 @@ func New(config *Config) *VersionDB {
|
|||||||
if config != nil {
|
if config != nil {
|
||||||
path = config.Path
|
path = config.Path
|
||||||
cfg = &versa.VersaDBConfig{
|
cfg = &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