Browse Source

Remove sleep in multiple daemons as compiling dora cli is fast enough

tags/v0.3.2-rc2
haixuanTao 2 years ago
parent
commit
eadf6b3557
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      examples/multiple-daemons/run.rs

+ 0
- 2
examples/multiple-daemons/run.rs View File

@@ -46,8 +46,6 @@ async fn main() -> eyre::Result<()> {
tasks.spawn(daemon_a);
tasks.spawn(daemon_b);

std::thread::sleep(Duration::from_secs(20));
// wait until both daemons are connected
tracing::info!("waiting until daemons are connected to coordinator");
let mut retries = 0;
loop {


Loading…
Cancel
Save