Fix formatting in Database initialization

This commit is contained in:
rjl493456442 2025-09-10 21:40:40 +08:00 committed by GitHub
parent e928edc1ce
commit 12cb466d52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -218,9 +218,9 @@ func New(file string, cache int, handles int, namespace string, readonly bool) (
memTableSize = maxMemTableSize - 1
}
db := &Database{
fn: file,
log: logger,
quitChan: make(chan chan error),
fn: file,
log: logger,
quitChan: make(chan chan error),
namespace: namespace,
// Use asynchronous write mode by default. Otherwise, the overhead of frequent fsync