style: Improve logging

This commit is contained in:
timedout
2026-06-20 17:07:59 +01:00
parent f80e1e89a5
commit e8db01fc8d
3 changed files with 2 additions and 1 deletions
+1
View File
@@ -133,6 +133,7 @@ async fn wait_for_result(
}
#[instrument(
name="transaction"
skip_all,
fields(
id = ?body.transaction_id.as_str(),
@@ -108,7 +108,6 @@ async fn should_rescind_invite(
#[implement(super::Service)]
#[tracing::instrument(
name = "pdu",
level = INFO_SPAN_LEVEL,
skip_all,
fields(%room_id, %event_id),
)]
@@ -389,6 +389,7 @@ pub(super) async fn upgrade_outlier_to_timeline_pdu<Pdu>(
self.services
.metadata
.set_mindepth(room_id, incoming_pdu.depth.into());
trace!("Increased room's min depth from {} to {}", min_depth, incoming_pdu.depth);
}
Ok(pdu_id)