Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Just a loop wasn't enough, it goes too fast (#185)
Browse files Browse the repository at this point in the history
* Just a loop wasn't enough, it goes too fast

* remove test
  • Loading branch information
bhechinger authored Apr 11, 2024
1 parent fb6dbd1 commit 0186a98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,5 @@ to prevent it from binding GPU's USB controller, so it must be fixed after boot.
echo "0000:01:00.2" | sudo tee /sys/bus/pci/drivers/xhci_hcd/unbind
echo "0000:01:00.2" | sudo tee /sys/bus/pci/drivers/vfio-pci/bind
```

#TEST
2 changes: 2 additions & 0 deletions crates/node/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ async fn p2p_beacon(config: P2PBeaconConfig) -> Result<()> {
tracing::error!("failed to resolve {}: {}", addr, err);
}
}

tokio::time::sleep(Duration::from_secs(1)).await;
}

try_count += 1;
Expand Down

0 comments on commit 0186a98

Please sign in to comment.