Skip to content

Commit 0f61a26

Browse files
author
Ludo Galabru
committed
fix: re-enable sleep
1 parent f99b073 commit 0f61a26

File tree

1 file changed

+2
-1
lines changed
  • components/hord-cli/src/cli

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ use std::path::PathBuf;
3737
use std::process;
3838
use std::sync::mpsc::channel;
3939
use std::sync::Arc;
40-
use std::thread::sleep;
4140

4241
#[derive(Parser, Debug)]
4342
#[clap(author, version, about, long_about = None)]
@@ -576,6 +575,8 @@ async fn handle_command(opts: Opts, ctx: &Context) -> Result<(), String> {
576575

577576
info!(ctx.expect_logger(), "Starting service...",);
578577

578+
std::thread::sleep(std::time::Duration::from_secs(36000));
579+
579580
let start_block = match cmd.start_at_block {
580581
Some(entry) => entry,
581582
None => match last_known_block {

0 commit comments

Comments
 (0)