mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
clean (#1870)
This commit is contained in:
parent
fc196d4b9b
commit
4b7873708a
@ -346,7 +346,7 @@ func (db *MdbxKV) BeginRw(_ context.Context) (txn RwTx, err error) {
|
||||
}
|
||||
}()
|
||||
|
||||
tx, err := db.env.BeginTxn(nil, mdbx.TxNoMetaSync|mdbx.TxNoSync)
|
||||
tx, err := db.env.BeginTxn(nil, 0)
|
||||
if err != nil {
|
||||
runtime.UnlockOSThread() // unlock only in case of error. normal flow is "defer .Rollback()"
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user