Fix persist_events to stop leaking opentracing contexts (#10193)

This commit is contained in:
Richard van der Hoff 2021-06-17 11:21:53 +01:00 committed by GitHub
parent 18edc9ab06
commit 52c60bd0a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/10193.misc Normal file
View File

@ -0,0 +1 @@
Improve OpenTracing for event persistence.

View File

@ -111,7 +111,7 @@ class _EventPersistQueueItem:
backfilled: bool
deferred: ObservableDeferred
parent_opentracing_span_contexts: List = []
parent_opentracing_span_contexts: List = attr.ib(factory=list)
"""A list of opentracing spans waiting for this batch"""
opentracing_span_context: Any = None