mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
Remove redundant span attributes
There's no need to record attributes that are already present in all callers.
This commit is contained in:
parent
f35cbfd89e
commit
88bb2ea600
2 changed files with 5 additions and 8 deletions
|
|
@ -361,7 +361,7 @@ fn add_port_to_hostname(destination_str: &str) -> FedDest {
|
|||
/// Numbers in comments below refer to bullet points in linked section of
|
||||
/// specification
|
||||
#[allow(clippy::too_many_lines)]
|
||||
#[tracing::instrument(ret(level = "debug"))]
|
||||
#[tracing::instrument(skip(destination), ret(level = "debug"))]
|
||||
async fn find_actual_destination(
|
||||
destination: &'_ ServerName,
|
||||
) -> (FedDest, FedDest) {
|
||||
|
|
|
|||
|
|
@ -308,7 +308,7 @@ impl Service {
|
|||
}
|
||||
|
||||
#[allow(clippy::type_complexity, clippy::too_many_arguments)]
|
||||
#[tracing::instrument(skip(self, create_event, value, pub_key_map))]
|
||||
#[tracing::instrument(skip(self, origin, room_id, value, pub_key_map))]
|
||||
fn handle_outlier_pdu<'a>(
|
||||
&'a self,
|
||||
origin: &'a ServerName,
|
||||
|
|
@ -512,12 +512,9 @@ impl Service {
|
|||
})
|
||||
}
|
||||
|
||||
#[tracing::instrument(skip(
|
||||
self,
|
||||
incoming_pdu,
|
||||
val,
|
||||
create_event,
|
||||
pub_key_map
|
||||
#[tracing::instrument(skip_all, fields(
|
||||
incoming_pdu = %incoming_pdu.event_id,
|
||||
create_event = %create_event.event_id,
|
||||
))]
|
||||
pub(crate) async fn upgrade_outlier_to_timeline_pdu(
|
||||
&self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue