Skip to content

Commit 95ef151

Browse files
update with latest marf pr change and enable compression
1 parent fdc3e60 commit 95ef151

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stackslib/src/chainstate/stacks/index/marf.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl MARFOpenOpts {
7575
cache_strategy: "noop".to_string(),
7676
external_blobs: false,
7777
force_db_migrate: false,
78-
compress: false,
78+
compress: true,
7979
}
8080
}
8181

@@ -89,7 +89,7 @@ impl MARFOpenOpts {
8989
cache_strategy: cache_strategy.to_string(),
9090
external_blobs,
9191
force_db_migrate: false,
92-
compress: false,
92+
compress: true,
9393
}
9494
}
9595

stackslib/src/chainstate/stacks/index/storage.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ impl<T: MarfTrieId> TrieRAM<T> {
469469
is_moved: false,
470470

471471
parent: parent.clone(),
472-
compress: false,
472+
compress: true,
473473
}
474474
}
475475

@@ -500,7 +500,7 @@ impl<T: MarfTrieId> TrieRAM<T> {
500500
is_moved: false,
501501

502502
parent,
503-
compress: false,
503+
compress: true,
504504
}
505505
}
506506

0 commit comments

Comments
 (0)