From 9d6fcf3ab98f3a47329a4b6a97fc4b775876b3a8 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 2 Aug 2022 14:07:04 -0500 Subject: Clean up some opentracing text references --- synapse/storage/controllers/persist_events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'synapse/storage/controllers') diff --git a/synapse/storage/controllers/persist_events.py b/synapse/storage/controllers/persist_events.py index 0c379814c3..f34c067515 100644 --- a/synapse/storage/controllers/persist_events.py +++ b/synapse/storage/controllers/persist_events.py @@ -222,7 +222,7 @@ class _EventPeristenceQueue(Generic[_PersistResult]): ) queue.append(end_item) - # also add our active opentracing span to the item so that we get a link back + # also add our active tracing span to the item so that we get a link back span = get_active_span() if span: end_item.parent_tracing_span_contexts.append(span.get_span_context()) @@ -233,7 +233,7 @@ class _EventPeristenceQueue(Generic[_PersistResult]): # wait for the queue item to complete res = await make_deferred_yieldable(end_item.deferred.observe()) - # add another opentracing span which links to the persist trace. + # add another tracing span which links to the persist trace. with start_active_span( f"{task.name}_complete", links=[Link(end_item.tracing_span_context)], -- cgit 1.5.1