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