style: Improve logging

This commit is contained in:
timedout authored and Jade Ellis committed 2026-06-27 19:49:38 +01:00
1 parent 51d7a82aa3
commit d090f5d769
3 files changed
+2 -1

No files matched your search

+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 @@ impl super::Service {
/// room, if not soft fail it
#[tracing::instrument(
name = "pdu",
level = INFO_SPAN_LEVEL,
skip_all,
fields(%room_id, %event_id),
)]
@@ -392,6 +392,7 @@ impl super::Service {
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)