mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
ethdb/pebble: set Database.namespace in New to prefix stall metrics
This commit is contained in:
parent
5035064421
commit
e928edc1ce
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue