mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-19 00:54:12 +00:00
Mdbx reduce augment limit to 8*default (#134)
This commit is contained in:
parent
750239d977
commit
b11097448f
@ -169,7 +169,7 @@ func (opts MdbxOpts) Open() (kv.RwDB, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if opts.augumentLimit == 0 {
|
if opts.augumentLimit == 0 {
|
||||||
opts.augumentLimit = 32 * 1024 * 1024 // mdbx's default 256 * 1024
|
opts.augumentLimit = 8 * 256 * 1024 // mdbx's default 256 * 1024
|
||||||
}
|
}
|
||||||
if err = env.SetOption(mdbx.OptRpAugmentLimit, opts.augumentLimit); err != nil {
|
if err = env.SetOption(mdbx.OptRpAugmentLimit, opts.augumentLimit); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user