0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 22:53:52 +01:00

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 backfilled: bool
deferred: ObservableDeferred 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""" """A list of opentracing spans waiting for this batch"""
opentracing_span_context: Any = None opentracing_span_context: Any = None