mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
Fix formatting in Database initialization
This commit is contained in:
parent
e928edc1ce
commit
12cb466d52
1 changed files with 3 additions and 3 deletions
|
|
@ -218,9 +218,9 @@ func New(file string, cache int, handles int, namespace string, readonly bool) (
|
||||||
memTableSize = maxMemTableSize - 1
|
memTableSize = maxMemTableSize - 1
|
||||||
}
|
}
|
||||||
db := &Database{
|
db := &Database{
|
||||||
fn: file,
|
fn: file,
|
||||||
log: logger,
|
log: logger,
|
||||||
quitChan: make(chan chan error),
|
quitChan: make(chan chan error),
|
||||||
namespace: namespace,
|
namespace: namespace,
|
||||||
|
|
||||||
// Use asynchronous write mode by default. Otherwise, the overhead of frequent fsync
|
// Use asynchronous write mode by default. Otherwise, the overhead of frequent fsync
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue