Skip to content

Commit fb5c591

Browse files
author
Ludo Galabru
committed
fix: restore stable values
1 parent a6b4a5f commit fb5c591

File tree

1 file changed

+2
-2
lines changed
  • components/chainhook-sdk/src/hord/db

1 file changed

+2
-2
lines changed

components/chainhook-sdk/src/hord/db/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ pub async fn fetch_and_cache_blocks_in_hord_db(
859859
}
860860

861861
if !traversals_cache.is_empty() {
862-
if num_writes % 16 == 0 {
862+
if num_writes % 24 == 0 {
863863
ctx.try_log(|logger| {
864864
slog::info!(
865865
logger,
@@ -871,7 +871,7 @@ pub async fn fetch_and_cache_blocks_in_hord_db(
871871
}
872872
}
873873

874-
if num_writes % 512 == 0 {
874+
if num_writes % 128 == 0 {
875875
ctx.try_log(|logger| {
876876
slog::info!(logger, "Flushing DB to disk ({num_writes} inserts)");
877877
});

0 commit comments

Comments
 (0)