Skip to content

Commit

Permalink
Instruments listen_fut with its own span
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Jun 12, 2023
1 parent b10df28 commit bd3ac93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-network/src/peer_set/initialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ where
listen_handshaker,
peerset_tx.clone(),
);
let listen_guard = tokio::spawn(listen_fut.in_current_span());
let listen_guard = tokio::spawn(listen_fut);

// 2. Initial peers, specified in the config and cached on disk.
let initial_peers_fut = add_initial_peers(
Expand Down

0 comments on commit bd3ac93

Please sign in to comment.