mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-11 01:32:49 +02:00
tweak tracing spans; inlines
db deserializer tracing instrument cover Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
685b127f99
commit
02f19cf951
16 changed files with 146 additions and 34 deletions
|
@ -39,7 +39,12 @@ use crate::rooms::timeline::RawPduId;
|
|||
/// 14. Check if the event passes auth based on the "current state" of the room,
|
||||
/// if not soft fail it
|
||||
#[implement(super::Service)]
|
||||
#[tracing::instrument(skip(self, origin, value, is_timeline_event), name = "pdu")]
|
||||
#[tracing::instrument(
|
||||
name = "pdu",
|
||||
level = "warn",
|
||||
skip_all,
|
||||
fields(%room_id, %event_id),
|
||||
)]
|
||||
pub async fn handle_incoming_pdu<'a>(
|
||||
&self,
|
||||
origin: &'a ServerName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue