mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-08-28 18:08:24 +00:00
style: Improve logging
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user