This commit is contained in:
alex.sharov 2022-02-03 16:28:43 +07:00
parent 02c407a14e
commit d814adb13e

View File

@ -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)