Skip to content

Commit f2b067e

Browse files
author
Ludo Galabru
committed
fix: remove rocksdb reconnect
1 parent e2fbc73 commit f2b067e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

components/ordhook-cli/src/core/pipeline/processors/inscription_indexing.rs

-4
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@ pub fn start_inscription_indexing_processor(
141141
);
142142
cache_l2.clear();
143143

144-
// Clear rocksdb db connection on a regular basis
145-
let _ = blocks_db_rw.flush_wal(true);
146-
blocks_db_rw = open_ordhook_db_conn_rocks_db_loop(true, &config.expected_cache_path(), &ctx);
147-
148144
// Recreate sqlite db connection on a regular basis
149145
inscriptions_db_conn_rw =
150146
open_readwrite_ordhook_db_conn(&config.expected_cache_path(), &ctx).unwrap();

0 commit comments

Comments
 (0)