1
0
Fork 0
forked from mirror/grapevine

tracing: add span for globals.watch()

This spawns a ton of futures which are otherwise all flat in the parent.
This commit is contained in:
Lambda 2024-05-23 19:15:36 +00:00 committed by Charles Hall
parent 3365608101
commit 2e34241465
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -30,6 +30,7 @@ impl service::globals::Data for KeyValueDatabase {
})
}
#[tracing::instrument(skip(self))]
async fn watch(
&self,
user_id: &UserId,