tracing instruments for ruma state res

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and June committed 2024-04-09 15:26:45 -04:00
1 parent d92e8e170f
commit 5f11d68616
2 files changed
+9 -7

No files matched your search

-1
View File
@@ -25,7 +25,6 @@ impl Service {
self.db.cache_auth_chain(key, auth_chain)
}
#[tracing::instrument(skip(self, starting_events))]
pub async fn get_auth_chain<'a>(
&self, room_id: &RoomId, starting_events: Vec<Arc<EventId>>,
) -> Result<impl Iterator<Item = Arc<EventId>> + 'a> {