diff --git a/index.js b/index.js index 8878006..0452e1c 100644 --- a/index.js +++ b/index.js @@ -1279,7 +1279,8 @@ function createColumnFamily(db, opts = {}) { optimizeFiltersForMemory = false, blobFileSize = 256 * 1024 * 1024, blobGarbageCollectionAgeCutOff = 0.25, - blobGarbageCollectionForceThreshold = 1.0 + blobGarbageCollectionForceThreshold = 1.0, + writeBufferSize = 64 * 1024 * 1024 } = opts const col = new RocksDB.ColumnFamily(COLUMN_FAMILY, { @@ -1293,7 +1294,8 @@ function createColumnFamily(db, opts = {}) { optimizeFiltersForMemory, blockCache, blobGarbageCollectionAgeCutOff, - blobGarbageCollectionForceThreshold + blobGarbageCollectionForceThreshold, + writeBufferSize }) return db.columnFamily(col) diff --git a/package.json b/package.json index 8daccbd..ff8149a 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "hyperschema": "^1.21.0", "index-encoder": "^3.3.2", "resolve-reject-promise": "^1.0.0", - "rocksdb-native": "^3.11.0", + "rocksdb-native": "^3.18.0", "scope-lock": "^1.2.4", "streamx": "^2.21.1", "xache": "^1.2.1"