summary refs log tree commit diff
path: root/synapse/federation/transaction_queue.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-04-10 14:25:11 +0100
committerErik Johnston <erik@matrix.org>2018-04-10 14:25:11 +0100
commita060dfa1324b5ec12e0af96ec090a3b997582cb2 (patch)
tree8d47961b6b09436daf6ab837cc6e93f9459b6393 /synapse/federation/transaction_queue.py
parentPreserve log contexts correctly (diff)
downloadsynapse-a060dfa1324b5ec12e0af96ec090a3b997582cb2.tar.xz
Use run_in_background instead
Diffstat (limited to '')
-rw-r--r--synapse/federation/transaction_queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py
index 4dce984c1a..5b0b798e57 100644
--- a/synapse/federation/transaction_queue.py
+++ b/synapse/federation/transaction_queue.py
@@ -227,7 +227,7 @@ class TransactionQueue(object):
 
                 yield logcontext.make_deferred_yieldable(defer.gatherResults(
                     [
-                        logcontext.preserve_fn(handle_room_events)(evs)
+                        logcontext.run_in_background(handle_room_events, evs)
                         for evs in events_by_room.itervalues()
                     ],
                     consumeErrors=True