mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-28 14:47:16 +00:00
save
This commit is contained in:
parent
2110fb06d5
commit
b023e06483
@ -21,6 +21,7 @@ import (
|
||||
"context"
|
||||
"encoding/binary"
|
||||
"fmt"
|
||||
math2 "math"
|
||||
"os"
|
||||
"runtime"
|
||||
"sort"
|
||||
@ -303,6 +304,9 @@ func (opts MdbxOpts) Open() (kv.RwDB, error) {
|
||||
env.Close()
|
||||
return nil, err
|
||||
}
|
||||
if err := env.SetOption(mdbx.OptSyncBytes, uint64(math2.MaxUint64)); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
if opts.roTxsLimiter == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user