write buffer size.
This commit is contained in:
parent
23d3343994
commit
8f897c256b
@ -46,8 +46,9 @@ function BlockDB(options) {
|
|||||||
errorIfExists: false,
|
errorIfExists: false,
|
||||||
compression: true,
|
compression: true,
|
||||||
cacheSize: 16 * 1024 * 1024,
|
cacheSize: 16 * 1024 * 1024,
|
||||||
// writeBufferSize: 4 * 1024 * 1024,
|
writeBufferSize: 8 * 1024 * 1024,
|
||||||
// blockSize: 4 * 1024,
|
// blockSize: 4 * 1024,
|
||||||
|
// blockRestartInterval: 16,
|
||||||
maxOpenFiles: 8192,
|
maxOpenFiles: 8192,
|
||||||
db: bcoin.isBrowser
|
db: bcoin.isBrowser
|
||||||
? require('memdown')
|
? require('memdown')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user