write buffer size.

This commit is contained in:
Christopher Jeffrey 2016-02-15 16:56:20 -08:00
parent 23d3343994
commit 8f897c256b

View File

@ -46,8 +46,9 @@ function BlockDB(options) {
errorIfExists: false,
compression: true,
cacheSize: 16 * 1024 * 1024,
// writeBufferSize: 4 * 1024 * 1024,
writeBufferSize: 8 * 1024 * 1024,
// blockSize: 4 * 1024,
// blockRestartInterval: 16,
maxOpenFiles: 8192,
db: bcoin.isBrowser
? require('memdown')