Skip to content

Commit 41ecace

Browse files
author
Ludo Galabru
committed
fix: disable sleep
1 parent e575a4f commit 41ecace

File tree

1 file changed

+16
-16
lines changed
  • components/hord-cli/src/service

1 file changed

+16
-16
lines changed

components/hord-cli/src/service/mod.rs

+16-16
Original file line numberDiff line numberDiff line change
@@ -67,22 +67,22 @@ impl Service {
6767
// std::thread::sleep(std::time::Duration::from_secs(3600000));
6868

6969
// Force rebuild
70-
{
71-
let blocks_db = open_readwrite_hord_db_conn_rocks_db(
72-
&self.config.expected_cache_path(),
73-
&self.ctx,
74-
)?;
75-
let inscriptions_db_conn_rw =
76-
open_readwrite_hord_db_conn(&self.config.expected_cache_path(), &self.ctx)?;
77-
78-
delete_data_in_hord_db(
79-
767430,
80-
800000,
81-
&blocks_db,
82-
&inscriptions_db_conn_rw,
83-
&self.ctx,
84-
)?;
85-
}
70+
// {
71+
// let blocks_db = open_readwrite_hord_db_conn_rocks_db(
72+
// &self.config.expected_cache_path(),
73+
// &self.ctx,
74+
// )?;
75+
// let inscriptions_db_conn_rw =
76+
// open_readwrite_hord_db_conn(&self.config.expected_cache_path(), &self.ctx)?;
77+
78+
// delete_data_in_hord_db(
79+
// 767430,
80+
// 800000,
81+
// &blocks_db,
82+
// &inscriptions_db_conn_rw,
83+
// &self.ctx,
84+
// )?;
85+
// }
8686

8787
// rebuild_rocks_db(&self.config, 767400, 767429, 767400, None, &self.ctx).await?;
8888

0 commit comments

Comments
 (0)