From 98a312701f36ab2c3718e336bcbfdbd199c286a5 Mon Sep 17 00:00:00 2001 From: nym21 Date: Sun, 1 Jun 2025 16:11:13 +0200 Subject: [PATCH] computer: more frequent flushes --- crates/brk_computer/src/vecs/stateful/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/brk_computer/src/vecs/stateful/mod.rs b/crates/brk_computer/src/vecs/stateful/mod.rs index 2eb897389..335c0b0d8 100644 --- a/crates/brk_computer/src/vecs/stateful/mod.rs +++ b/crates/brk_computer/src/vecs/stateful/mod.rs @@ -1419,7 +1419,7 @@ impl Vecs { ) })?; - if height != Height::ZERO && height.unwrap_to_usize() % 100_000 == 0 { + if height != Height::ZERO && height.unwrap_to_usize() % 50_000 == 0 { info!("Flushing..."); exit.block(); self.flush_vecs(height, exit)?;