Skip to content

Commit 6dfe713

Browse files
authored
set engine persistence threshold to 0 (#360)
1 parent 1bf2c0b commit 6dfe713

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

crates/node/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn main() {
3535
.config()
3636
.engine
3737
.tree_config()
38-
.with_always_process_payload_attributes_on_canonical_head(true);
38+
.with_always_process_payload_attributes_on_canonical_head(true).with_persistence_threshold(0);
3939
let launcher = EngineNodeLauncher::new(
4040
builder.task_executor().clone(),
4141
builder.config().datadir(),

crates/node/src/test_utils.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ where
9090
.with_add_ons(node.add_ons())
9191
.launch_with_fn(|builder| {
9292
let tree_config = TreeConfig::default()
93-
.with_always_process_payload_attributes_on_canonical_head(true);
93+
.with_always_process_payload_attributes_on_canonical_head(true)
94+
.with_persistence_threshold(0);
9495
let launcher = EngineNodeLauncher::new(
9596
builder.task_executor().clone(),
9697
builder.config().datadir(),

0 commit comments

Comments
 (0)