diff options
| author | tv <tv@krebsco.de> | 2026-10-20 05:15:22 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-20 06:12:35 +0200 |
| commit | b3d86d1d487ec6c77c84e0721442e8089075f95f (patch) | |
| tree | cd92e52e90537a2f2877a47d9cf4fecfd11b76fa /src/bootstrap.rs | |
| parent | c17ad44ab8cb97433e68b5593f67d8672da0db4d (diff) | |
cleanup logging
Diffstat (limited to 'src/bootstrap.rs')
| -rw-r--r-- | src/bootstrap.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bootstrap.rs b/src/bootstrap.rs index df47ff6..470ca67 100644 --- a/src/bootstrap.rs +++ b/src/bootstrap.rs @@ -4,7 +4,7 @@ use std::sync::atomic::Ordering; use std::time::Duration; use anyhow::{bail, Result}; -use tracing::{debug, error, info, instrument, warn}; +use tracing::{debug, error, info, warn}; use uuid::Uuid; use crate::peer::{remember_peer, send_hello_once}; @@ -13,7 +13,6 @@ use crate::state::{AppState, PeerMembership}; const BOOTSTRAP_TIMEOUT: Duration = Duration::from_secs(300); const BOOTSTRAP_RETRY: Duration = Duration::from_millis(500); -#[instrument(skip(state, seeds))] pub(crate) async fn bootstrap(state: &AppState, seeds: &[String]) -> Result<()> { if seeds.is_empty() { info!("Initializing genesis node (no seed peers configured)"); |
