|
@@ -48,6 +48,7 @@ from synapse.logging.context import (
|
|
|
current_context,
|
|
|
make_deferred_yieldable,
|
|
|
)
|
|
|
+from synapse.logging.opentracing import trace
|
|
|
from synapse.metrics.background_process_metrics import (
|
|
|
run_as_background_process,
|
|
|
wrap_as_background_process,
|
|
@@ -391,6 +392,7 @@ class EventsWorkerStore(SQLBaseStore):
|
|
|
|
|
|
return {e.event_id: e for e in events}
|
|
|
|
|
|
+ @trace
|
|
|
async def get_events_as_list(
|
|
|
self,
|
|
|
event_ids: Collection[str],
|