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:
parent
18edc9ab06
commit
52c60bd0a9
2 changed files with 2 additions and 1 deletions
1
changelog.d/10193.misc
Normal file
1
changelog.d/10193.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Improve OpenTracing for event persistence.
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue