add rocksdb_bottommost_compression_level config option

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and June committed 2024-03-16 00:09:48 -04:00
1 parent 9a9f7b9c54
commit a3c24bcc31
4 files changed
+24 -1

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ fn db_options(rocksdb_cache: &rust_rocksdb::Cache, config: &Config) -> rust_rock
db_opts.set_bottommost_zstd_max_train_bytes(0, true);
// -14 w_bits is only read by zlib.
db_opts.set_bottommost_compression_options(-14, config.rocksdb_compression_level, 0, 0, true);
db_opts.set_bottommost_compression_options(-14, config.rocksdb_bottommost_compression_level, 0, 0, true);
}
// -14 w_bits is only read by zlib.