Revert "ethdb/pebble: use sync mode for pebble writes (#27615)"

This reverts commit e1e0b1c2e3.
This commit is contained in:
devopsbo3 2023-11-10 12:27:53 -06:00 committed by GitHub
parent 8ed598df0b
commit ad9830923b

View file

@ -279,7 +279,7 @@ func (d *Database) Put(key []byte, value []byte) error {
if d.closed { if d.closed {
return pebble.ErrClosed return pebble.ErrClosed
} }
return d.db.Set(key, value, pebble.Sync) return d.db.Set(key, value, pebble.NoSync)
} }
// Delete removes the key from the key-value store. // Delete removes the key from the key-value store.