ethdb/pebble: set Database.namespace in New to prefix stall metrics

This commit is contained in:
GarmashAlex 2025-09-09 15:29:40 +03:00 committed by GitHub
parent 5035064421
commit e928edc1ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -221,6 +221,7 @@ func New(file string, cache int, handles int, namespace string, readonly bool) (
fn: file,
log: logger,
quitChan: make(chan chan error),
namespace: namespace,
// Use asynchronous write mode by default. Otherwise, the overhead of frequent fsync
// operations can be significant, especially on platforms with slow fsync performance