diff options
| author | tv <tv@krebsco.de> | 2026-10-20 05:15:22 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-20 05:15:22 +0200 |
| commit | 42610f407dccec9b0e2ef870bb5a1ebeb70140b0 (patch) | |
| tree | 0cc27a1f7ad55d9bb926e7b5dd908b4a006ba2e9 /src/bootstrap.rs | |
| parent | e2477563c49fda947a91ed3a208ebf48147eb288 (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)"); |
