Clean up tracing::instrument attributes
Remove it from request handler since there's already the context of the request path, added through TraceLayer.
This commit is contained in:
parent
adeb8ee425
commit
accdb77315
33 changed files with 7 additions and 136 deletions
|
@ -15,7 +15,6 @@ use tracing::error;
|
|||
///
|
||||
/// - Only works if the user is joined (TODO: always allow, but only show events if the user was
|
||||
/// joined, depending on history_visibility)
|
||||
#[tracing::instrument(skip(db, body))]
|
||||
pub async fn get_context_route(
|
||||
db: DatabaseGuard,
|
||||
body: Ruma<get_context::Request<'_>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue