hypercore-storage 1.4.1 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -747,14 +747,13 @@ function isCorestoreStorage (s) {
|
|
|
747
747
|
|
|
748
748
|
function createColumnFamily (db) {
|
|
749
749
|
const col = new RocksDB.ColumnFamily(COLUMN_FAMILY, {
|
|
750
|
-
// tuning! atm just the default tuning from rocks, TODO: tweak
|
|
751
750
|
enableBlobFiles: true,
|
|
752
751
|
minBlobSize: 4096,
|
|
753
752
|
blobFileSize: 256 * 1024 * 1024,
|
|
754
753
|
enableBlobGarbageCollection: true,
|
|
755
|
-
tableBlockSize:
|
|
754
|
+
tableBlockSize: 8192,
|
|
756
755
|
tableCacheIndexAndFilterBlocks: true,
|
|
757
|
-
tableFormatVersion:
|
|
756
|
+
tableFormatVersion: 5
|
|
758
757
|
})
|
|
759
758
|
|
|
760
759
|
return db.columnFamily(col)
|