ldb: options.
This commit is contained in:
parent
048a99b9ba
commit
4a0eaa6b34
@ -36,8 +36,8 @@ function ldb(options) {
|
||||
|
||||
return new LowlevelUp(options.location, {
|
||||
// LevelDB and others
|
||||
createIfMissing: true,
|
||||
errorIfExists: false,
|
||||
createIfMissing: options.createIfMissing !== false,
|
||||
errorIfExists: options.errorIfExists === true,
|
||||
compression: options.compression !== false,
|
||||
cacheSize: options.cacheSize || (8 << 20),
|
||||
writeBufferSize: options.writeBufferSize || (4 << 20),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user