We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DEFAULT_PERSISTENCE_THRESHOLD
1 parent 5413ca3 commit 41c78efCopy full SHA for 41c78ef
1 file changed
crates/engine/tree/src/tree/config.rs
@@ -1,7 +1,7 @@
1
//! Engine tree configuration.
2
3
/// Triggers persistence when the number of canonical blocks in memory exceeds this threshold.
4
-pub const DEFAULT_PERSISTENCE_THRESHOLD: u64 = 2;
+pub const DEFAULT_PERSISTENCE_THRESHOLD: u64 = 5;
5
6
/// How close to the canonical head we persist blocks.
7
pub const DEFAULT_MEMORY_BLOCK_BUFFER_TARGET: u64 = 2;
0 commit comments