mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-11-08 19:52:50 -05:00
Revert log context change
This commit is contained in:
parent
6194a64ae9
commit
b282fe7170
1 changed files with 0 additions and 3 deletions
|
|
@ -315,9 +315,6 @@ def preserve_context_over_deferred(deferred, context=None):
|
|||
the deferred follow the synapse logcontext rules: try
|
||||
``make_deferred_yieldable`` instead.
|
||||
"""
|
||||
if not isinstance(deferred, defer.Deferred):
|
||||
return deferred
|
||||
|
||||
if context is None:
|
||||
context = LoggingContext.current_context()
|
||||
d = _PreservingContextDeferred(context)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue