Skip to content

Commit

Permalink
Merge pull request #1146 from zeenix/skip-self
Browse files Browse the repository at this point in the history
πŸ”Š zb: Skip `self` in an instrumented method
  • Loading branch information
zeenix authored Nov 14, 2024
2 parents 737b3ef + 22325c0 commit 055bde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zbus/src/connection/socket_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl SocketReader {
}
}

#[instrument]
#[instrument(skip(self))]
async fn read_socket(&mut self) -> crate::Result<Message> {
self.activity_event.notify(usize::MAX);
let seq = self.prev_seq + 1;
Expand Down

0 comments on commit 055bde5

Please sign in to comment.