mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-29 07:07:16 +00:00
save
This commit is contained in:
parent
02c407a14e
commit
d814adb13e
@ -206,9 +206,9 @@ func (opts MdbxOpts) Open() (kv.RwDB, error) {
|
||||
}
|
||||
// must be in the range from 12.5% (almost empty) to 50% (half empty)
|
||||
// which corresponds to the range from 8192 and to 32768 in units respectively
|
||||
//if err = env.SetOption(mdbx.OptMergeThreshold16dot16Percent, 32768); err != nil {
|
||||
// return nil, err
|
||||
//}
|
||||
if err = env.SetOption(mdbx.OptMergeThreshold16dot16Percent, 32768); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
dirtyPagesLimit, err := env.GetOption(mdbx.OptTxnDpLimit)
|
||||
|
Loading…
Reference in New Issue
Block a user