Skip to content

Commit

Permalink
fix: disable sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Jul 31, 2023
1 parent e575a4f commit 41ecace
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions components/hord-cli/src/service/mod.rs
Expand Up @@ -67,22 +67,22 @@ impl Service {
// std::thread::sleep(std::time::Duration::from_secs(3600000));

// Force rebuild
{
let blocks_db = open_readwrite_hord_db_conn_rocks_db(
&self.config.expected_cache_path(),
&self.ctx,
)?;
let inscriptions_db_conn_rw =
open_readwrite_hord_db_conn(&self.config.expected_cache_path(), &self.ctx)?;

delete_data_in_hord_db(
767430,
800000,
&blocks_db,
&inscriptions_db_conn_rw,
&self.ctx,
)?;
}
// {
// let blocks_db = open_readwrite_hord_db_conn_rocks_db(
// &self.config.expected_cache_path(),
// &self.ctx,
// )?;
// let inscriptions_db_conn_rw =
// open_readwrite_hord_db_conn(&self.config.expected_cache_path(), &self.ctx)?;

// delete_data_in_hord_db(
// 767430,
// 800000,
// &blocks_db,
// &inscriptions_db_conn_rw,
// &self.ctx,
// )?;
// }

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

Expand Down

0 comments on commit 41ecace

Please sign in to comment.