Skip to content

Commit

Permalink
Revert "ethdb/pebble: use sync mode for pebble writes (ethereum#27615)"
Browse files Browse the repository at this point in the history
This reverts commit e1e0b1c.
  • Loading branch information
devopsbo3 committed Nov 10, 2023
1 parent 50fc25a commit 90c9141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethdb/pebble/pebble.go
Expand Up @@ -279,7 +279,7 @@ func (d *Database) Put(key []byte, value []byte) error {
if d.closed {
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.
Expand Down

0 comments on commit 90c9141

Please sign in to comment.