support mace 0.0.24

This commit is contained in:
2026-01-19 11:53:17 +08:00
parent da89a88b40
commit 36c15dc0d0
14 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -115,8 +115,8 @@ int main(int argc, char *argv[]) {
// top.use_delta_encoding = false;
// cfo.table_factory.reset(rocksdb::NewBlockBasedTableFactory(top));
// use 1GB block cache
auto cache = rocksdb::NewLRUCache(1 << 30);
// use 3GB block cache
auto cache = rocksdb::NewLRUCache(3 << 30);
rocksdb::BlockBasedTableOptions table_options{};
table_options.block_cache = cache;
cfo.table_factory.reset(NewBlockBasedTableFactory(table_options));